cmStringAlgorithms: Fix C++23 ambiguous overload error

This commit is contained in:
Nicolas van Kempen committed 2025-09-05 20:31:55 -04:00
1 parent 58bde95a0a
commit 9fac84dd7f
1 file changed
+1 -1
+1 -1
View File
@@ -167,7 +167,7 @@ void cmTokenize(OutIt outIt, cm::string_view str, Sep sep,
}
// clang-format on
if (!hasTokens && mode == cmTokenizerMode::Legacy) {
*outIt = {};
*outIt = StringT{};
}
}