diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-27 13:16:13 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-30 22:33:07 (GMT) |
commit | c4f751604b1f76ad8d5215fb14c2838ed8c8a330 (patch) | |
tree | 3cb87cc1ff11f5e9bdec1e1cb2ce478e8b409854 | |
parent | ce549909fbed7ae5567099d0f9ea2e452119181b (diff) | |
download | CMake-c4f751604b1f76ad8d5215fb14c2838ed8c8a330.zip CMake-c4f751604b1f76ad8d5215fb14c2838ed8c8a330.tar.gz CMake-c4f751604b1f76ad8d5215fb14c2838ed8c8a330.tar.bz2 |
cmLocalXCodeGenerator: return a default string
Instead of using the `strlen`-based constructor.
-rw-r--r-- | Source/cmLocalXCodeGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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, |