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, System::println(System::Color::error,
"The build command requires all dependencies to be already installed."); "The build command requires all dependencies to be already installed.");
System::println("The following dependencies are missing:"); System::println("The following dependencies are missing:");
System::println(""); System::println(Strings::EMPTY);
for (const auto& p : result.unmet_dependencies) for (const auto& p : result.unmet_dependencies)
{ {
System::println(" %s", p); System::println(" %s", p);
} }
System::println(""); System::println(Strings::EMPTY);
Checks::exit_fail(VCPKG_LINE_INFO); Checks::exit_fail(VCPKG_LINE_INFO);
} }

View File

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

View File

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