mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 09:09:43 -05:00
Merge topic 'c++23-ambiguous-overload'
9fac84dd7f cmStringAlgorithms: Fix C++23 ambiguous overload error
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11155
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