summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wasm/wasm-type.cpp22
1 files changed, 11 insertions, 11 deletions
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<std::vector<Type>, Type::_last_value_type + 1> basicTypes = {
- std::vector<Type>{},
- {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<std::unique_ptr<std::vector<Type>>> constructedTypes;