aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_integrate.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-03-31 16:29:04 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-31 16:29:04 -0700
commit7d4832c6bf1cb42097f4c0e2c7dc991d7984155a (patch)
treeaaa419ed3a83fbe5008b3cb543ea548154c6568b /toolsrc/src/commands_integrate.cpp
parentc5950aa651136cf55c38a6e1be4090b1f33a5d94 (diff)
downloadvcpkg-7d4832c6bf1cb42097f4c0e2c7dc991d7984155a.tar.gz
vcpkg-7d4832c6bf1cb42097f4c0e2c7dc991d7984155a.zip
Rename optional::get_or_exit() to optional::value_or_exit()
Diffstat (limited to 'toolsrc/src/commands_integrate.cpp')
-rw-r--r--toolsrc/src/commands_integrate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_integrate.cpp b/toolsrc/src/commands_integrate.cpp
index 9342fc71e..632e8a184 100644
--- a/toolsrc/src/commands_integrate.cpp
+++ b/toolsrc/src/commands_integrate.cpp
@@ -136,7 +136,7 @@ namespace vcpkg::Commands::Integrate
static fs::path get_appdata_targets_path()
{
- static const fs::path local_app_data = fs::path(System::get_environmental_variable(L"LOCALAPPDATA").get_or_exit(VCPKG_LINE_INFO));
+ static const fs::path local_app_data = fs::path(System::get_environmental_variable(L"LOCALAPPDATA").value_or_exit(VCPKG_LINE_INFO));
return local_app_data / "vcpkg" / "vcpkg.user.targets";
}