From c4f751604b1f76ad8d5215fb14c2838ed8c8a330 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 27 Jul 2023 09:16:13 -0400 Subject: cmLocalXCodeGenerator: return a default string Instead of using the `strlen`-based constructor. --- Source/cmLocalXCodeGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalXCodeGenerator.cxx b/Source/cmLocalXCodeGenerator.cxx index eb05424..9646e66 100644 --- a/Source/cmLocalXCodeGenerator.cxx +++ b/Source/cmLocalXCodeGenerator.cxx @@ -31,7 +31,7 @@ std::string cmLocalXCodeGenerator::GetTargetDirectory( cmGeneratorTarget const*) const { // No per-target directory for this generator (yet). - return ""; + return std::string{}; } void cmLocalXCodeGenerator::AppendFlagEscape(std::string& flags, -- cgit v0.12