mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
cmLocalXCodeGenerator: return a default string
Instead of using the `strlen`-based constructor.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user