aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_remove.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
-rw-r--r--toolsrc/src/commands_remove.cpp4
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);
}