mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
cmStringAlgorithms: Fix C++23 ambiguous overload error
This commit is contained in:
1 parent
58bde95a0a
commit
9fac84dd7f
1 file changed
+1
-1
@@ -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