diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 15:42:26 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:43 -0700 |
| commit | cf3ee7c2a5adc88493f3a597a967bfcff369777f (patch) | |
| tree | f08a32a04e29bcc944cb0e82aadcab4a98db2b47 /toolsrc/src/vcpkglib.cpp | |
| parent | 7ca52532c25ed52430c2e3d97b2cd6ce0dd9f18e (diff) | |
| download | vcpkg-cf3ee7c2a5adc88493f3a597a967bfcff369777f.tar.gz vcpkg-cf3ee7c2a5adc88493f3a597a967bfcff369777f.zip | |
Want: change enum constants to ALL_UPPER
Diffstat (limited to 'toolsrc/src/vcpkglib.cpp')
| -rw-r--r-- | toolsrc/src/vcpkglib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkglib.cpp b/toolsrc/src/vcpkglib.cpp index dcfe9aebc..b40942f65 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::purge) + if (pgh->state != InstallState::INSTALLED || pgh->want != Want::INSTALL) continue; installed_packages.push_back(pgh.get()); } |
