diff options
| author | nicole mazzuca <mazzucan@outlook.com> | 2020-11-19 19:17:10 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-19 19:17:10 -0800 |
| commit | 817100c793e0953f673068f1c4c6035cd80002c2 (patch) | |
| tree | c7eacafe5c2ea47c8629e9edbfabda61fdc271e9 /toolsrc/src | |
| parent | e013fa17ec560bbb97c74c277f1c4b52e49e63c2 (diff) | |
| download | vcpkg-817100c793e0953f673068f1c4c6035cd80002c2.tar.gz vcpkg-817100c793e0953f673068f1c4c6035cd80002c2.zip | |
[vcpkg] fix vs2015 build (#14659)
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/vcpkg/build.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/build.cpp b/toolsrc/src/vcpkg/build.cpp index e75f5b7c1..d418f71f5 100644 --- a/toolsrc/src/vcpkg/build.cpp +++ b/toolsrc/src/vcpkg/build.cpp @@ -214,7 +214,7 @@ namespace vcpkg::Build static std::remove_const_t<decltype(ALL_POLICIES)> generate_all_policies() { - std::remove_const_t<decltype(ALL_POLICIES)> res; + std::remove_const_t<decltype(ALL_POLICIES)> res{}; for (size_t i = 0; i < res.size(); ++i) { res[i] = static_cast<BuildPolicy>(i); |
