aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/vcpkg/build.cpp2
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);