From a18b153e1940b6e1504084c60f3feca46dfa2870 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 12 May 2016 14:35:58 -0700 Subject: use exceptions consistently to report input errors --- test/example/find_div0s.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/example/find_div0s.cpp') 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); -- cgit v1.2.3