aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-07 13:03:11 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-07 15:45:13 -0700
commit66e6e6e9e21c9fe6cfb46e42841345b65ebed05c (patch)
tree571b941c6ad83f0fe7afc8fd607afa71d452ebd8 /toolsrc/include
parentc85de257c8e731def5fe8e70fdb699fbdb15bff1 (diff)
downloadvcpkg-66e6e6e9e21c9fe6cfb46e42841345b65ebed05c.tar.gz
vcpkg-66e6e6e9e21c9fe6cfb46e42841345b65ebed05c.zip
Add RequestType to InstallPlan
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Dependencies.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/include/vcpkg_Dependencies.h b/toolsrc/include/vcpkg_Dependencies.h
index 6e7d73d8b..0e629ffef 100644
--- a/toolsrc/include/vcpkg_Dependencies.h
+++ b/toolsrc/include/vcpkg_Dependencies.h
@@ -27,13 +27,14 @@ namespace vcpkg::Dependencies
struct InstallPlanAction
{
InstallPlanAction();
- InstallPlanAction(const InstallPlanType& plan_type, Optional<BinaryParagraph> binary_pgh, Optional<SourceParagraph> source_pgh);
+ InstallPlanAction(const InstallPlanType& plan_type, const RequestType& request_type, Optional<BinaryParagraph> binary_pgh, Optional<SourceParagraph> source_pgh);
InstallPlanAction(const InstallPlanAction&) = delete;
InstallPlanAction(InstallPlanAction&&) = default;
InstallPlanAction& operator=(const InstallPlanAction&) = delete;
InstallPlanAction& operator=(InstallPlanAction&&) = default;
InstallPlanType plan_type;
+ RequestType request_type;
Optional<BinaryParagraph> binary_pgh;
Optional<SourceParagraph> source_pgh;
};
@@ -64,7 +65,6 @@ namespace vcpkg::Dependencies
RemovePlanAction& operator=(const RemovePlanAction&) = delete;
RemovePlanAction& operator=(RemovePlanAction&&) = default;
-
RemovePlanType plan_type;
RequestType request_type;
};