summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 8583f9492..9571c0e7e 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1107,6 +1107,7 @@ private:
template<class ReturnType>
struct WasmVisitor {
+ virtual ~WasmVisitor() {}
// should be pure virtual, but https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51048
// Expression visitors
virtual ReturnType visitBlock(Block *curr) { abort(); }