summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 62a263ae9..6eee9d8a2 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -359,6 +359,8 @@ public:
struct Case {
Name name;
Expression *body;
+ Case() {}
+ Case(Name name, Expression *body) : name(name), body(body) {}
};
Name name;