File tree Expand file tree Collapse file tree
Framework/Core/include/Framework Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1413,13 +1413,12 @@ template <typename... C>
14131413static constexpr auto hasColumnForKey (framework::pack<C...>, std::string_view key)
14141414{
14151415 auto caseInsensitiveCompare = [](const std::string_view& str1, const std::string_view& str2) {
1416- return (str1.size () == str2.size ()) &&
1417- std::ranges::equal (
1418- str1, str2,
1419- [](char c1, char c2) {
1420- return std::tolower (static_cast <unsigned char >(c1)) ==
1421- std::tolower (static_cast <unsigned char >(c2));
1422- });
1416+ return std::ranges::equal (
1417+ str1, str2,
1418+ [](char c1, char c2) {
1419+ return std::tolower (static_cast <unsigned char >(c1)) ==
1420+ std::tolower (static_cast <unsigned char >(c2));
1421+ });
14231422 };
14241423 return (caseInsensitiveCompare (C::inherited_t ::mLabel , key) || ...);
14251424}
You can’t perform that action at this time.
0 commit comments