aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkglib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/vcpkglib.cpp')
-rw-r--r--toolsrc/src/vcpkglib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkglib.cpp b/toolsrc/src/vcpkglib.cpp
index 3c98c745d..92950b2e7 100644
--- a/toolsrc/src/vcpkglib.cpp
+++ b/toolsrc/src/vcpkglib.cpp
@@ -176,7 +176,7 @@ namespace vcpkg
std::vector<StatusParagraph*> installed_packages;
for (auto&& pgh : status_db)
{
- if (pgh->state == InstallState::not_installed && pgh->want == want_t::purge)
+ if (pgh->state == InstallState::NOT_INSTALLED && pgh->want == want_t::purge)
continue;
installed_packages.push_back(pgh.get());
}
@@ -190,7 +190,7 @@ namespace vcpkg
for (const std::unique_ptr<StatusParagraph>& pgh : status_db)
{
- if (pgh->state != InstallState::installed)
+ if (pgh->state != InstallState::INSTALLED)
{
continue;
}