Use Strings::EMPTY instead of ""

This commit is contained in:
Alexander Karatarakis 2017-08-28 18:58:59 -07:00
parent 4a6b43c15a
commit d02d44b0f1
3 changed files with 4 additions and 4 deletions

View File

@ -68,12 +68,12 @@ namespace vcpkg::Commands::BuildCommand
System::println(System::Color::error,
"The build command requires all dependencies to be already installed.");
System::println("The following dependencies are missing:");
System::println("");
System::println(Strings::EMPTY);
for (const auto& p : result.unmet_dependencies)
{
System::println(" %s", p);
}
System::println("");
System::println(Strings::EMPTY);
Checks::exit_fail(VCPKG_LINE_INFO);
}

View File

@ -199,7 +199,7 @@ namespace vcpkg::Commands::Install
bcf.core_paragraph.spec);
System::print("\n ");
System::println(Strings::join("\n ", intersection));
System::println("");
System::println(Strings::EMPTY);
return InstallResult::FILE_CONFLICTS;
}

View File

@ -20,7 +20,7 @@ namespace vcpkg::Commands::Version
#ifndef NDEBUG
+ std::string("-debug")
#endif
+ std::string(Metrics::get_compiled_metrics_enabled() ? "" : "-external");
+ std::string(Metrics::get_compiled_metrics_enabled() ? Strings::EMPTY : "-external");
return s_version;
}