aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_integrate.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-14 15:35:34 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-14 15:35:34 -0800
commitb882f365e9aebf95c07c8667e38ae2730931f74e (patch)
tree16f9b6e78024aa277cfb7470a5ad3f6eae002d9b /toolsrc/src/commands_integrate.cpp
parenta5181331653592afcd6223140722ecbcfa58c94d (diff)
downloadvcpkg-b882f365e9aebf95c07c8667e38ae2730931f74e.tar.gz
vcpkg-b882f365e9aebf95c07c8667e38ae2730931f74e.zip
System::get_environmental_variable() now returns optional<>
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 93fb29487..ed3ab2c7e 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()
{
- return fs::path(System::get_environmental_variable(L"LOCALAPPDATA")) / "vcpkg" / "vcpkg.user.targets";
+ return fs::path(*System::get_environmental_variable(L"LOCALAPPDATA")) / "vcpkg" / "vcpkg.user.targets";
}
static void integrate_install(const vcpkg_paths& paths)