aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_update.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-15 17:42:42 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-15 17:42:42 -0800
commit31b8eee587c4a29894247833198d5e1e15ba9bba (patch)
tree1827d87ceca9a0b3b3a91a254a6ef088cc012c95 /toolsrc/src/commands_update.cpp
parente969c5c8eb2429436de35eab3cbe34133566a380 (diff)
downloadvcpkg-31b8eee587c4a29894247833198d5e1e15ba9bba.tar.gz
vcpkg-31b8eee587c4a29894247833198d5e1e15ba9bba.zip
Use the already loaded status_db
Diffstat (limited to 'toolsrc/src/commands_update.cpp')
-rw-r--r--toolsrc/src/commands_update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_update.cpp b/toolsrc/src/commands_update.cpp
index 2d7444392..82e3b7e52 100644
--- a/toolsrc/src/commands_update.cpp
+++ b/toolsrc/src/commands_update.cpp
@@ -37,7 +37,7 @@ namespace vcpkg
std::string packages_list;
std::vector<std::string> packages_output;
- for (auto&& pgh : database_load_check(paths))
+ for (auto&& pgh : status_db)
{
if (pgh->state == install_state_t::not_installed && pgh->want == want_t::purge)
continue;