From 9fac84dd7f4e86749198da983856f4c8efb2ae38 Mon Sep 17 00:00:00 2001 From: Nicolas van Kempen Date: Fri, 5 Sep 2025 20:29:04 -0400 Subject: [PATCH] cmStringAlgorithms: Fix C++23 ambiguous overload error --- Source/cmStringAlgorithms.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmStringAlgorithms.h b/Source/cmStringAlgorithms.h index 314124e409..b0d01c00ba 100644 --- a/Source/cmStringAlgorithms.h +++ b/Source/cmStringAlgorithms.h @@ -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{}; } }