diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 15:25:34 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:42 -0700 |
| commit | a742b60b4f4da8fc0d9b755b05600b75724233a9 (patch) | |
| tree | f836ad235fe66034e945be2d7efa2f1219ce0680 /toolsrc/src/vcpkglib.cpp | |
| parent | ab34b88f2d315b9076faaae9bde5b444c4155b1b (diff) | |
| download | vcpkg-a742b60b4f4da8fc0d9b755b05600b75724233a9.tar.gz vcpkg-a742b60b4f4da8fc0d9b755b05600b75724233a9.zip | |
InstallState: change enum constants to ALL_UPPER
Diffstat (limited to 'toolsrc/src/vcpkglib.cpp')
| -rw-r--r-- | toolsrc/src/vcpkglib.cpp | 4 |
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; } |
