summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/example/find_div0s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/find_div0s.cpp b/test/example/find_div0s.cpp
index 4528c7cb4..c3a2c0750 100644
--- a/test/example/find_div0s.cpp
+++ b/test/example/find_div0s.cpp
@@ -32,7 +32,7 @@ int main() {
// The parsed code has just one element, the module. Build the module
// from that (and abort on any errors, but there won't be one here).
- SExpressionWasmBuilder builder(module, *root[0], [&]() { abort(); });
+ SExpressionWasmBuilder builder(module, *root[0]);
// Print it out
WasmPrinter::printModule(&module, std::cout);