aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-05-22 17:14:30 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-05-22 17:14:30 -0700
commit2a73e133448c14738271e8b0227c8b2eb4992ea3 (patch)
treefc660e7d0e3678f317d3443f2518b9c6c3018ae6
parentb142632afdba938a7fc7386074c5d8446e1d7ab0 (diff)
downloadvcpkg-2a73e133448c14738271e8b0227c8b2eb4992ea3.tar.gz
vcpkg-2a73e133448c14738271e8b0227c8b2eb4992ea3.zip
Direct-init instead of copy-init
-rw-r--r--toolsrc/src/vcpkg/commands.fetch.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/toolsrc/src/vcpkg/commands.fetch.cpp b/toolsrc/src/vcpkg/commands.fetch.cpp
index c88ae9dd0..33c5c1dcc 100644
--- a/toolsrc/src/vcpkg/commands.fetch.cpp
+++ b/toolsrc/src/vcpkg/commands.fetch.cpp
@@ -816,7 +816,7 @@ namespace vcpkg::Commands::Fetch
paths_examined.push_back(dumpbin_path);
if (fs.exists(dumpbin_path))
{
- const Toolset v141toolset = Toolset{
+ const Toolset v141toolset{
vs_instance.root_path, dumpbin_path, vcvarsall_bat, {}, V_141, supported_architectures};
auto english_language_pack = dumpbin_path.parent_path() / "1033";
@@ -831,12 +831,12 @@ namespace vcpkg::Commands::Fetch
if (v140_is_available)
{
- const Toolset v140toolset = Toolset{vs_instance.root_path,
- dumpbin_path,
- vcvarsall_bat,
- {"-vcvars_ver=14.0"},
- V_140,
- supported_architectures};
+ const Toolset v140toolset{vs_instance.root_path,
+ dumpbin_path,
+ vcvarsall_bat,
+ {"-vcvars_ver=14.0"},
+ V_140,
+ supported_architectures};
found_toolsets.push_back(v140toolset);
}