diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-15 11:56:46 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-15 12:40:06 -0800 |
| commit | 2b204e673914b20e662ed17f667c267690fd6b52 (patch) | |
| tree | 7eefa5c0855be954ef5efd401aad4ef44e47c198 /toolsrc/include | |
| parent | 2584f3e3def7f09bc373117985013ac019aa76d6 (diff) | |
| download | vcpkg-2b204e673914b20e662ed17f667c267690fd6b52.tar.gz vcpkg-2b204e673914b20e662ed17f667c267690fd6b52.zip | |
Use custom struct instead of std::pair
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg_Dependencies.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg_Dependencies.h b/toolsrc/include/vcpkg_Dependencies.h index b556eb7d8..909c27771 100644 --- a/toolsrc/include/vcpkg_Dependencies.h +++ b/toolsrc/include/vcpkg_Dependencies.h @@ -20,5 +20,11 @@ namespace vcpkg {namespace Dependencies std::unique_ptr<SourceParagraph> spgh; }; - std::vector<std::pair<package_spec, install_plan_action>> create_install_plan(const vcpkg_paths& paths, const std::vector<package_spec>& specs, const StatusParagraphs& status_db); + struct package_spec_with_install_plan + { + package_spec spec; + install_plan_action install_plan; + }; + + std::vector<package_spec_with_install_plan> create_install_plan(const vcpkg_paths& paths, const std::vector<package_spec>& specs, const StatusParagraphs& status_db); }} |
