1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

cmStringAlgorithms: Fix C++23 ambiguous overload error

This commit is contained in:
Nicolas van Kempen
2025-09-05 20:29:04 -04:00
parent 58bde95a0a
commit 9fac84dd7f

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{};
}
}