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:
@@ -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{};
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user