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/commands_remove.cpp | |
| parent | ab34b88f2d315b9076faaae9bde5b444c4155b1b (diff) | |
| download | vcpkg-a742b60b4f4da8fc0d9b755b05600b75724233a9.tar.gz vcpkg-a742b60b4f4da8fc0d9b755b05600b75724233a9.zip | |
InstallState: change enum constants to ALL_UPPER
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
| -rw-r--r-- | toolsrc/src/commands_remove.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp index a3b00faba..26af4f32b 100644 --- a/toolsrc/src/commands_remove.cpp +++ b/toolsrc/src/commands_remove.cpp @@ -32,7 +32,7 @@ namespace vcpkg::Commands::Remove StatusParagraph& pkg = **status_db->find(spec.name(), spec.target_triplet()); pkg.want = want_t::purge; - pkg.state = InstallState::half_installed; + pkg.state = InstallState::HALF_INSTALLED; write_update(paths, pkg); std::fstream listfile(paths.listfile_path(pkg.package), std::ios_base::in | std::ios_base::binary); @@ -97,7 +97,7 @@ namespace vcpkg::Commands::Remove fs::remove(paths.listfile_path(pkg.package)); } - pkg.state = InstallState::not_installed; + pkg.state = InstallState::NOT_INSTALLED; write_update(paths, pkg); } |
