aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-13 16:23:21 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-15 18:06:06 -0800
commit430739c468f7ea3cc513b85339ac51c16073325c (patch)
tree73a4f78ab335ee6b30071fe1b1249337bc0d901e /toolsrc/src/commands_install.cpp
parent6824cc9264d245ebd1302c27eb714250c5f7ec13 (diff)
downloadvcpkg-430739c468f7ea3cc513b85339ac51c16073325c.tar.gz
vcpkg-430739c468f7ea3cc513b85339ac51c16073325c.zip
Change parameter from std::string to package_spec
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index af068a4fb..d4ec64e09 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -217,7 +217,7 @@ namespace vcpkg::Commands::Install
const Build::BuildResult result = Commands::Build::build_package(*action.plan.source_pgh, action.spec, paths, paths.port_dir(action.spec), status_db);
if (result != Build::BuildResult::SUCCEEDED)
{
- System::println(System::color::error, Build::create_error_message(result, action.spec.toString()));
+ System::println(System::color::error, Build::create_error_message(result, action.spec));
System::println(Build::create_user_troubleshooting_message(action.spec));
exit(EXIT_FAILURE);
}