aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_Dependencies.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-01-30 16:46:39 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-01-30 21:52:44 -0800
commit4252d9436e6d4104f6acc5560aef461046aae853 (patch)
treef4652be76a454f0348d98b5d08e1b542b8487d8a /toolsrc/src/vcpkg_Dependencies.cpp
parent86a5ab7bccce5988682e69c4e1c14fedbf9a13a7 (diff)
downloadvcpkg-4252d9436e6d4104f6acc5560aef461046aae853.tar.gz
vcpkg-4252d9436e6d4104f6acc5560aef461046aae853.zip
remove_plan now depends on the spec, instead of StatusParagraph
Diffstat (limited to 'toolsrc/src/vcpkg_Dependencies.cpp')
-rw-r--r--toolsrc/src/vcpkg_Dependencies.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg_Dependencies.cpp b/toolsrc/src/vcpkg_Dependencies.cpp
index bb2ecc666..a534537d2 100644
--- a/toolsrc/src/vcpkg_Dependencies.cpp
+++ b/toolsrc/src/vcpkg_Dependencies.cpp
@@ -93,7 +93,7 @@ namespace vcpkg::Dependencies
const StatusParagraphs::const_iterator it = status_db.find(spec);
if (it == status_db.end() || (*it)->state == install_state_t::not_installed)
{
- was_examined.emplace(spec, remove_plan_action{remove_plan_type::NOT_INSTALLED, request_type::USER_REQUESTED, nullptr});
+ was_examined.emplace(spec, remove_plan_action{remove_plan_type::NOT_INSTALLED, request_type::USER_REQUESTED});
continue;
}
@@ -115,7 +115,7 @@ namespace vcpkg::Dependencies
}
const request_type request_type = specs_as_set.find(spec) != specs_as_set.end() ? request_type::USER_REQUESTED : request_type::AUTO_SELECTED;
- was_examined.emplace(spec, remove_plan_action{remove_plan_type::REMOVE, request_type,it->get()});
+ was_examined.emplace(spec, remove_plan_action{remove_plan_type::REMOVE});
}
std::vector<package_spec_with_remove_plan> ret;