diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 16:22:32 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:44 -0700 |
| commit | 39d6688e028d9831ac7c8c914c80d150b2e10cb2 (patch) | |
| tree | 5e87c4aa0f89b3148484f445bb7feec0fc003ef6 /toolsrc/src/vcpkg_Dependencies.cpp | |
| parent | 1d8099fd8cdad4ebbd8297a474bc7c7c0768660e (diff) | |
| download | vcpkg-39d6688e028d9831ac7c8c914c80d150b2e10cb2.tar.gz vcpkg-39d6688e028d9831ac7c8c914c80d150b2e10cb2.zip | |
install_plan_type -> InstallPlanType
Diffstat (limited to 'toolsrc/src/vcpkg_Dependencies.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_Dependencies.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolsrc/src/vcpkg_Dependencies.cpp b/toolsrc/src/vcpkg_Dependencies.cpp index a1ef606ba..7dda13e66 100644 --- a/toolsrc/src/vcpkg_Dependencies.cpp +++ b/toolsrc/src/vcpkg_Dependencies.cpp @@ -9,11 +9,11 @@ namespace vcpkg::Dependencies { - install_plan_action::install_plan_action() : plan_type(install_plan_type::UNKNOWN), binary_pgh(nullopt), source_pgh(nullopt) + install_plan_action::install_plan_action() : plan_type(InstallPlanType::UNKNOWN), binary_pgh(nullopt), source_pgh(nullopt) { } - install_plan_action::install_plan_action(const install_plan_type& plan_type, optional<BinaryParagraph> binary_pgh, optional<SourceParagraph> source_pgh) + install_plan_action::install_plan_action(const InstallPlanType& plan_type, optional<BinaryParagraph> binary_pgh, optional<SourceParagraph> source_pgh) : plan_type(std::move(plan_type)), binary_pgh(std::move(binary_pgh)), source_pgh(std::move(source_pgh)) { } @@ -68,7 +68,7 @@ namespace vcpkg::Dependencies auto it = status_db.find(spec); if (it != status_db.end() && (*it)->want == Want::INSTALL) { - was_examined.emplace(spec, install_plan_action{install_plan_type::ALREADY_INSTALLED, nullopt, nullopt }); + was_examined.emplace(spec, install_plan_action{InstallPlanType::ALREADY_INSTALLED, nullopt, nullopt }); continue; } @@ -76,7 +76,7 @@ namespace vcpkg::Dependencies if (BinaryParagraph* bpgh = maybe_bpgh.get()) { process_dependencies(bpgh->depends); - was_examined.emplace(spec, install_plan_action{install_plan_type::INSTALL, std::move(*bpgh), nullopt }); + was_examined.emplace(spec, install_plan_action{InstallPlanType::INSTALL, std::move(*bpgh), nullopt }); continue; } @@ -84,7 +84,7 @@ namespace vcpkg::Dependencies if (auto spgh = maybe_spgh.get()) { process_dependencies(filter_dependencies(spgh->depends, spec.target_triplet())); - was_examined.emplace(spec, install_plan_action{ install_plan_type::BUILD_AND_INSTALL, nullopt, std::move(*spgh) }); + was_examined.emplace(spec, install_plan_action{ InstallPlanType::BUILD_AND_INSTALL, nullopt, std::move(*spgh) }); } else { |
