aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-07 16:17:54 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-07 16:22:35 -0700
commit18fa18a07b97aa69826562738e498fbd2317e091 (patch)
treeb6d65208a737763cfc4466d776aa58598a3e57c9 /toolsrc/src/commands_install.cpp
parent285bbe0d8a1a14afc217b06790e1c99e1200a14b (diff)
downloadvcpkg-18fa18a07b97aa69826562738e498fbd2317e091.tar.gz
vcpkg-18fa18a07b97aa69826562738e498fbd2317e091.zip
Remove PackageSpec.display_name()
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index 884be598a..38672da3a 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -201,7 +201,7 @@ namespace vcpkg::Commands::Install
const fs::path triplet_install_path = paths.installed / triplet.canonical_name();
System::println(System::Color::error, "The following files are already installed in %s and are in conflict with %s",
triplet_install_path.generic_string(),
- binary_paragraph.spec.display_name());
+ binary_paragraph.spec);
System::print("\n ");
System::println(Strings::join("\n ", intersection));
System::println("");
@@ -281,7 +281,7 @@ namespace vcpkg::Commands::Install
// execute the plan
for (const PackageSpecWithInstallPlan& action : install_plan)
{
- const std::string display_name = action.spec.display_name();
+ const std::string display_name = action.spec.to_string();
try
{
@@ -324,7 +324,7 @@ namespace vcpkg::Commands::Install
}
catch (const std::exception& e)
{
- System::println(System::Color::error, "Error: Could not install package %s: %s", action.spec.display_name(), e.what());
+ System::println(System::Color::error, "Error: Could not install package %s: %s", action.spec, e.what());
Checks::exit_fail(VCPKG_LINE_INFO);
}
}