diff options
Diffstat (limited to 'src/shell-interface.h')
-rw-r--r-- | src/shell-interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell-interface.h b/src/shell-interface.h index d82885ced..c429c3a29 100644 --- a/src/shell-interface.h +++ b/src/shell-interface.h @@ -232,7 +232,7 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface { throw TrapException(); } - void throwException(Literal exn) override { throw WasmException(exn); } + void throwException(const WasmException& exn) override { throw exn; } }; } // namespace wasm |