diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 16:23:46 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:44 -0700 |
| commit | 1723c4e5412ee8cbee9f9ebc8ff634f18a9f5632 (patch) | |
| tree | 0387fa759be92d1aafd29e12aa89d4e25cc7405c /toolsrc/src/commands_remove.cpp | |
| parent | c9f4f312aede4ea8862d50d1cb4ddefe3b1a8362 (diff) | |
| download | vcpkg-1723c4e5412ee8cbee9f9ebc8ff634f18a9f5632.tar.gz vcpkg-1723c4e5412ee8cbee9f9ebc8ff634f18a9f5632.zip | |
remove_plan_type -> RemovePlanType
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
| -rw-r--r-- | toolsrc/src/commands_remove.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp index fb4387e06..20068bc78 100644 --- a/toolsrc/src/commands_remove.cpp +++ b/toolsrc/src/commands_remove.cpp @@ -9,7 +9,7 @@ namespace vcpkg::Commands::Remove { using Dependencies::package_spec_with_remove_plan; - using Dependencies::remove_plan_type; + using Dependencies::RemovePlanType; using Dependencies::RequestType; using Update::OutdatedPackage; @@ -116,13 +116,13 @@ namespace vcpkg::Commands::Remove for (const package_spec_with_remove_plan& i : plan) { - if (i.plan.plan_type == remove_plan_type::NOT_INSTALLED) + if (i.plan.plan_type == RemovePlanType::NOT_INSTALLED) { not_installed.push_back(&i); continue; } - if (i.plan.plan_type == remove_plan_type::REMOVE) + if (i.plan.plan_type == RemovePlanType::REMOVE) { remove.push_back(&i); continue; @@ -230,15 +230,15 @@ namespace vcpkg::Commands::Remove switch (action.plan.plan_type) { - case remove_plan_type::NOT_INSTALLED: + case RemovePlanType::NOT_INSTALLED: System::println(System::color::success, "Package %s is not installed", display_name); break; - case remove_plan_type::REMOVE: + case RemovePlanType::REMOVE: System::println("Removing package %s... ", display_name); remove_package(paths, action.spec, &status_db); System::println(System::color::success, "Removing package %s... done", display_name); break; - case remove_plan_type::UNKNOWN: + case RemovePlanType::UNKNOWN: default: Checks::unreachable(VCPKG_LINE_INFO); } |
