summaryrefslogtreecommitdiff
path: root/src/wasm-type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-type.h')
-rw-r--r--src/wasm-type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h
index ddfb7c9a1..c4d719a35 100644
--- a/src/wasm-type.h
+++ b/src/wasm-type.h
@@ -99,7 +99,7 @@ struct ResultType {
struct Signature {
Type params;
Type results;
- Signature() = default;
+ Signature() : params(Type::none), results(Type::none) {}
Signature(Type params, Type results) : params(params), results(results) {}
bool operator==(const Signature& other) const {
return params == other.params && results == other.results;