cmLocalXCodeGenerator: return a default string

Instead of using the `strlen`-based constructor.
This commit is contained in:
Ben Boeckel 2023-07-27 09:16:13 -04:00
parent ce549909fb
commit c4f751604b

View File

@ -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,