aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_ci.cpp
diff options
context:
space:
mode:
authorDaniel Shaw <t-dansha@microsoft.com>2017-07-19 14:19:11 -0700
committerDaniel Shaw <t-dansha@microsoft.com>2017-07-19 14:19:11 -0700
commit1445115906139f5c6d14bcbbacdcc0cfb543fd80 (patch)
tree8197c502f3b824cdbfadbc218daa99bdc11d254a /toolsrc/src/commands_ci.cpp
parent7cca4a2d59124070661d69912288d73758ed4f94 (diff)
downloadvcpkg-1445115906139f5c6d14bcbbacdcc0cfb543fd80.tar.gz
vcpkg-1445115906139f5c6d14bcbbacdcc0cfb543fd80.zip
refactor feature packages
Diffstat (limited to 'toolsrc/src/commands_ci.cpp')
-rw-r--r--toolsrc/src/commands_ci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_ci.cpp b/toolsrc/src/commands_ci.cpp
index 95d722302..f781adf69 100644
--- a/toolsrc/src/commands_ci.cpp
+++ b/toolsrc/src/commands_ci.cpp
@@ -40,7 +40,7 @@ namespace vcpkg::Commands::CI
const std::vector<PackageSpec> specs = load_all_package_specs(paths.get_filesystem(), paths.ports, triplet);
StatusParagraphs status_db = database_load_check(paths);
- auto paths_port_file = Dependencies::PathsPortFile(paths);
+ const auto& paths_port_file = Dependencies::PathsPortFile(paths);
const std::vector<InstallPlanAction> install_plan =
Dependencies::create_install_plan(paths_port_file, specs, status_db);
Checks::check_exit(VCPKG_LINE_INFO, !install_plan.empty(), "Install plan cannot be empty");