aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_remove.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-12-12 15:05:49 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-12-12 15:05:49 -0800
commit852acbc2638c21d9639258417b8cd9fceed722c2 (patch)
treeea8e554bb2e7aa36cd5ec681cf567411b451ac97 /toolsrc/src/commands_remove.cpp
parentb629cd904440c640b7e5b4c3fdf17df5aac90bad (diff)
downloadvcpkg-852acbc2638c21d9639258417b8cd9fceed722c2.tar.gz
vcpkg-852acbc2638c21d9639258417b8cd9fceed722c2.zip
[vcpkg_Input] Use std::string instead of char*
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
-rw-r--r--toolsrc/src/commands_remove.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp
index 9d3352532..445213fc2 100644
--- a/toolsrc/src/commands_remove.cpp
+++ b/toolsrc/src/commands_remove.cpp
@@ -174,7 +174,7 @@ namespace vcpkg
const std::unordered_set<std::string> options = args.check_and_get_optional_command_arguments({OPTION_PURGE});
auto status_db = database_load_check(paths);
- std::vector<package_spec> specs = Input::check_and_get_package_specs(args.command_arguments, default_target_triplet, example.c_str());
+ std::vector<package_spec> specs = Input::check_and_get_package_specs(args.command_arguments, default_target_triplet, example);
Input::check_triplets(specs, paths);
bool alsoRemoveFolderFromPackages = options.find(OPTION_PURGE) != options.end();