We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09a002f commit 8946f03Copy full SHA for 8946f03
1 file changed
Framework/Core/include/Framework/ASoA.h
@@ -1413,7 +1413,7 @@ template <typename... C>
1413
static constexpr auto hasColumnForKey(framework::pack<C...>, std::string_view key)
1414
{
1415
auto caseInsensitiveCompare = [](const std::string_view& str1, const std::string_view& str2) {
1416
- return std::ranges::equal(
+ return (str1.size() == str2.size()) && std::ranges::equal(
1417
str1, str2,
1418
[](char c1, char c2) {
1419
return std::tolower(static_cast<unsigned char>(c1)) ==
0 commit comments