From ec76e9e8922a55b521c8b72ca970c7aee7b6d44a Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 14 Apr 2020 12:22:03 -0700 Subject: Fix build with a sprinkling of braces (#2766) --- src/wasm/wasm-type.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/wasm/wasm-type.cpp b/src/wasm/wasm-type.cpp index 624a42182..d1cdf6a81 100644 --- a/src/wasm/wasm-type.cpp +++ b/src/wasm/wasm-type.cpp @@ -53,17 +53,17 @@ namespace { std::mutex mutex; std::array, Type::_last_value_type + 1> basicTypes = { - std::vector{}, - {Type::unreachable}, - {Type::i32}, - {Type::i64}, - {Type::f32}, - {Type::f64}, - {Type::v128}, - {Type::funcref}, - {Type::anyref}, - {Type::nullref}, - {Type::exnref}}; + {{}, + {Type::unreachable}, + {Type::i32}, + {Type::i64}, + {Type::f32}, + {Type::f64}, + {Type::v128}, + {Type::funcref}, + {Type::anyref}, + {Type::nullref}, + {Type::exnref}}}; // Track unique_ptrs for constructed types to avoid leaks std::vector>> constructedTypes; -- cgit v1.2.3