aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-03 15:25:34 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-04 16:44:42 -0700
commita742b60b4f4da8fc0d9b755b05600b75724233a9 (patch)
treef836ad235fe66034e945be2d7efa2f1219ce0680 /toolsrc/src/commands_install.cpp
parentab34b88f2d315b9076faaae9bde5b444c4155b1b (diff)
downloadvcpkg-a742b60b4f4da8fc0d9b755b05600b75724233a9.tar.gz
vcpkg-a742b60b4f4da8fc0d9b755b05600b75724233a9.zip
InstallState: change enum constants to ALL_UPPER
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index 0a7b27825..60cf5da0e 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -165,7 +165,7 @@ namespace vcpkg::Commands::Install
StatusParagraph spgh;
spgh.package = binary_paragraph;
spgh.want = want_t::install;
- spgh.state = InstallState::half_installed;
+ spgh.state = InstallState::HALF_INSTALLED;
for (auto&& dep : spgh.package.depends)
{
if (status_db->find_installed(dep, spgh.package.spec.target_triplet()) == status_db->end())
@@ -178,7 +178,7 @@ namespace vcpkg::Commands::Install
install_and_write_listfile(paths, spgh.package);
- spgh.state = InstallState::installed;
+ spgh.state = InstallState::INSTALLED;
write_update(paths, spgh);
status_db->insert(std::make_unique<StatusParagraph>(spgh));
}