diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-09-27 17:48:51 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-09-27 17:48:51 -0700 |
| commit | 712491c8223616803220b7f8b807ecb5a3e64ece (patch) | |
| tree | 37f8de0873a623451cda5dc8590f695c4dd1548c /toolsrc/src/VcpkgPaths.cpp | |
| parent | eca068e4c5673b888d6470b42d6b5b44b21c4007 (diff) | |
| download | vcpkg-712491c8223616803220b7f8b807ecb5a3e64ece.tar.gz vcpkg-712491c8223616803220b7f8b807ecb5a3e64ece.zip | |
Place line closer to usage
Diffstat (limited to 'toolsrc/src/VcpkgPaths.cpp')
| -rw-r--r-- | toolsrc/src/VcpkgPaths.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/VcpkgPaths.cpp b/toolsrc/src/VcpkgPaths.cpp index 00f4691cd..b831b6f46 100644 --- a/toolsrc/src/VcpkgPaths.cpp +++ b/toolsrc/src/VcpkgPaths.cpp @@ -294,7 +294,6 @@ namespace vcpkg { const auto& fs = paths.get_filesystem(); - const std::vector<std::string> vs2017_installation_instances = get_vs2017_installation_instances(paths); // Note: this will contain a mix of vcvarsall.bat locations and dumpbin.exe locations. std::vector<fs::path> paths_examined; @@ -324,6 +323,8 @@ namespace vcpkg } } + const std::vector<std::string> vs2017_installation_instances = get_vs2017_installation_instances(paths); + // VS2017 Optional<Toolset> vs2017_toolset; for (const std::string& instance : vs2017_installation_instances) |
