diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-12-22 12:51:02 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-12-22 12:51:02 -0800 |
commit | afd2e66106d08792f54aea7ddfa408853ce229ed (patch) | |
tree | ff1cac7f33289af0c7056b23abe791e1a532d061 /src/wasm.h | |
parent | bf680f7553433c2cd0ffdd641e4e37fceed8b7ed (diff) | |
parent | 1749331c841d5ecc42d4b82617cb958766cbdfb6 (diff) | |
download | binaryen-afd2e66106d08792f54aea7ddfa408853ce229ed.tar.gz binaryen-afd2e66106d08792f54aea7ddfa408853ce229ed.tar.bz2 binaryen-afd2e66106d08792f54aea7ddfa408853ce229ed.zip |
Merge pull request #26 from WebAssembly/virtual-dtor
Add missing virtual dtor
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 1 |
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(); } |