diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-03-31 16:23:48 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-31 16:23:48 -0700 |
| commit | c5950aa651136cf55c38a6e1be4090b1f33a5d94 (patch) | |
| tree | 5b98507e92275146b98e9ee11d325229a3027277 /toolsrc/src/commands_install.cpp | |
| parent | 14297a5bd916bbe41852625dd57637c92fb79c06 (diff) | |
| download | vcpkg-c5950aa651136cf55c38a6e1be4090b1f33a5d94.tar.gz vcpkg-c5950aa651136cf55c38a6e1be4090b1f33a5d94.zip | |
Rename expected::get_or_exit() to expected::value_or_exit()
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
| -rw-r--r-- | toolsrc/src/commands_install.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp index 6c8ab8be4..ddd6cb085 100644 --- a/toolsrc/src/commands_install.cpp +++ b/toolsrc/src/commands_install.cpp @@ -227,7 +227,7 @@ namespace vcpkg::Commands::Install System::println(Build::create_user_troubleshooting_message(action.spec)); Checks::exit_fail(VCPKG_LINE_INFO); } - const BinaryParagraph bpgh = Paragraphs::try_load_cached_package(paths, action.spec).get_or_exit(VCPKG_LINE_INFO); + const BinaryParagraph bpgh = Paragraphs::try_load_cached_package(paths, action.spec).value_or_exit(VCPKG_LINE_INFO); install_package(paths, bpgh, &status_db); System::println(System::color::success, "Package %s is installed", action.spec); } |
