diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 16:26:54 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:45 -0700 |
| commit | 9e19213498a4f77aa9b55ce1e81a3efaabfc9844 (patch) | |
| tree | 52a29894cd34887e413c1c2624c22817fdb65096 /toolsrc/src/vcpkg.cpp | |
| parent | ccbb2ebcdafa3978105115840285466d57c87186 (diff) | |
| download | vcpkg-9e19213498a4f77aa9b55ce1e81a3efaabfc9844.tar.gz vcpkg-9e19213498a4f77aa9b55ce1e81a3efaabfc9844.zip | |
expected -> Expected
Diffstat (limited to 'toolsrc/src/vcpkg.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg.cpp b/toolsrc/src/vcpkg.cpp index bb4a2926c..bfbc79a83 100644 --- a/toolsrc/src/vcpkg.cpp +++ b/toolsrc/src/vcpkg.cpp @@ -58,7 +58,7 @@ static void inner(const VcpkgCmdArguments& args) Checks::check_exit(VCPKG_LINE_INFO, !vcpkg_root_dir.empty(), "Error: Could not detect vcpkg-root."); - const expected<vcpkg_paths> expected_paths = vcpkg_paths::create(vcpkg_root_dir); + const Expected<vcpkg_paths> expected_paths = vcpkg_paths::create(vcpkg_root_dir); Checks::check_exit(VCPKG_LINE_INFO, !expected_paths.error_code(), "Error: Invalid vcpkg root directory %s: %s", vcpkg_root_dir.string(), expected_paths.error_code().message()); const vcpkg_paths paths = expected_paths.value_or_exit(VCPKG_LINE_INFO); int exit_code = _wchdir(paths.root.c_str()); |
