1
0
Эх сурвалжийг харах

cmLocalXCodeGenerator: return a default string

Instead of using the `strlen`-based constructor.
Ben Boeckel 2 жил өмнө
parent
commit
c4f751604b

+ 1 - 1
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,