diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-28 12:55:50 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-28 12:55:50 -0700 |
| commit | 346aa3fab8c02fcabe09b2738a392e62e792b99f (patch) | |
| tree | 2446160b304c81759439ec9e5fd952edae51005f /toolsrc/src/commands_install.cpp | |
| parent | 8a1e0b144c26dd7e6e29a9b230936169ca595fed (diff) | |
| download | vcpkg-346aa3fab8c02fcabe09b2738a392e62e792b99f.tar.gz vcpkg-346aa3fab8c02fcabe09b2738a392e62e792b99f.zip | |
[clang-format] Cpp11BracedListStyle: true
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
| -rw-r--r-- | toolsrc/src/commands_install.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp index bc77d6a9f..20fdbcdf5 100644 --- a/toolsrc/src/commands_install.cpp +++ b/toolsrc/src/commands_install.cpp @@ -174,9 +174,8 @@ namespace vcpkg::Commands::Install static void print_plan(const std::map<InstallPlanType, std::vector<const InstallPlanAction*>>& group_by_plan_type) { - static constexpr std::array<InstallPlanType, 3> order = { InstallPlanType::ALREADY_INSTALLED, - InstallPlanType::BUILD_AND_INSTALL, - InstallPlanType::INSTALL }; + static constexpr std::array<InstallPlanType, 3> order = { + InstallPlanType::ALREADY_INSTALLED, InstallPlanType::BUILD_AND_INSTALL, InstallPlanType::INSTALL}; for (const InstallPlanType plan_type : order) { @@ -277,8 +276,7 @@ namespace vcpkg::Commands::Install for (auto&& spec : specs) Input::check_triplet(spec.triplet(), paths); - const std::unordered_set<std::string> options = - args.check_and_get_optional_command_arguments({ OPTION_DRY_RUN }); + const std::unordered_set<std::string> options = args.check_and_get_optional_command_arguments({OPTION_DRY_RUN}); const bool dryRun = options.find(OPTION_DRY_RUN) != options.cend(); // create the plan |
