diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-03-31 16:29:04 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-31 16:29:04 -0700 |
| commit | 7d4832c6bf1cb42097f4c0e2c7dc991d7984155a (patch) | |
| tree | aaa419ed3a83fbe5008b3cb543ea548154c6568b /toolsrc/src/commands_ci.cpp | |
| parent | c5950aa651136cf55c38a6e1be4090b1f33a5d94 (diff) | |
| download | vcpkg-7d4832c6bf1cb42097f4c0e2c7dc991d7984155a.tar.gz vcpkg-7d4832c6bf1cb42097f4c0e2c7dc991d7984155a.zip | |
Rename optional::get_or_exit() to optional::value_or_exit()
Diffstat (limited to 'toolsrc/src/commands_ci.cpp')
| -rw-r--r-- | toolsrc/src/commands_ci.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_ci.cpp b/toolsrc/src/commands_ci.cpp index c94d70ebb..75de0fd9b 100644 --- a/toolsrc/src/commands_ci.cpp +++ b/toolsrc/src/commands_ci.cpp @@ -62,7 +62,7 @@ namespace vcpkg::Commands::CI } else if (action.plan.plan_type == install_plan_type::BUILD_AND_INSTALL) { - const BuildResult result = Commands::Build::build_package(action.plan.source_pgh.get_or_exit(VCPKG_LINE_INFO), + const BuildResult result = Commands::Build::build_package(action.plan.source_pgh.value_or_exit(VCPKG_LINE_INFO), action.spec, paths, paths.port_dir(action.spec), @@ -81,7 +81,7 @@ namespace vcpkg::Commands::CI else if (action.plan.plan_type == install_plan_type::INSTALL) { results.back() = BuildResult::SUCCEEDED; - Install::install_package(paths, action.plan.binary_pgh.get_or_exit(VCPKG_LINE_INFO), &status_db); + Install::install_package(paths, action.plan.binary_pgh.value_or_exit(VCPKG_LINE_INFO), &status_db); System::println(System::color::success, "Package %s is installed from cache", action.spec); } else |
