diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-01-23 14:14:01 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-01-23 14:14:01 -0800 |
| commit | 130fa279f968ad9661ff4614a2b87f1bb0c5aee2 (patch) | |
| tree | de9873942077203dd35462b4e6d96636c4c366bd /toolsrc/include | |
| parent | 91f447631da356ca9e8f1eca92f5f59a57e3b5fb (diff) | |
| download | vcpkg-130fa279f968ad9661ff4614a2b87f1bb0c5aee2.tar.gz vcpkg-130fa279f968ad9661ff4614a2b87f1bb0c5aee2.zip | |
[vcpkg] Revert making remove_package() take status_db by const
The in-memory database must be updated to communicate to future actions that they need to look at this package's files (or not)
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/remove.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/include/vcpkg/remove.h b/toolsrc/include/vcpkg/remove.h index 0610bd127..36aeda2ad 100644 --- a/toolsrc/include/vcpkg/remove.h +++ b/toolsrc/include/vcpkg/remove.h @@ -17,10 +17,10 @@ namespace vcpkg::Remove void perform_remove_plan_action(const VcpkgPaths& paths, const Dependencies::RemovePlanAction& action, const Purge purge, - const StatusParagraphs& status_db); + StatusParagraphs* status_db); extern const CommandStructure COMMAND_STRUCTURE; void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet); - void remove_package(const VcpkgPaths& paths, const PackageSpec& spec, const StatusParagraphs& status_db); + void remove_package(const VcpkgPaths& paths, const PackageSpec& spec, StatusParagraphs* status_db); } |
