| commit | c4f751604b1f76ad8d5215fb14c2838ed8c8a330 | [log] [tgz] |
|---|---|---|
| author | Ben Boeckel <ben.boeckel@kitware.com> | Thu Jul 27 09:16:13 2023 -0400 |
| committer | Ben Boeckel <ben.boeckel@kitware.com> | Sun Jul 30 18:33:07 2023 -0400 |
| tree | 3cb87cc1ff11f5e9bdec1e1cb2ce478e8b409854 | |
| parent | ce549909fbed7ae5567099d0f9ea2e452119181b [diff] |
cmLocalXCodeGenerator: return a default string Instead of using the `strlen`-based constructor.
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 @@ cmGeneratorTarget const*) const { // No per-target directory for this generator (yet). - return ""; + return std::string{}; } void cmLocalXCodeGenerator::AppendFlagEscape(std::string& flags,