aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-01-27 17:28:00 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-01-30 21:52:42 -0800
commit4059d4a6b9f9467ff5c58594f7304eef7ba79664 (patch)
treeb644e2eb0241b06c469031f50e2d8a3960ad02f6 /toolsrc/src/commands_install.cpp
parent9da07d4540c0c0bb34fedad649e4e2d5a75bbf09 (diff)
downloadvcpkg-4059d4a6b9f9467ff5c58594f7304eef7ba79664.tar.gz
vcpkg-4059d4a6b9f9467ff5c58594f7304eef7ba79664.zip
[package_spec] Make toString() a member function
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index 2ae67a497..dabce44f6 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -192,11 +192,11 @@ namespace vcpkg::Commands::Install
std::vector<package_spec_with_install_plan> install_plan = Dependencies::create_install_plan(paths, specs, status_db);
Checks::check_exit(!install_plan.empty(), "Install plan cannot be empty");
- std::string specs_string = to_string(install_plan[0].spec);
+ std::string specs_string = install_plan[0].spec.toString();
for (size_t i = 1; i < install_plan.size(); ++i)
{
specs_string.push_back(',');
- specs_string.append(to_string(install_plan[i].spec));
+ specs_string.append(install_plan[i].spec.toString());
}
TrackProperty("installplan", specs_string);
Environment::ensure_utilities_on_path(paths);