summaryrefslogtreecommitdiff
path: root/src/wasm-traversal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-traversal.h')
-rw-r--r--src/wasm-traversal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-traversal.h b/src/wasm-traversal.h
index 388584fd6..eb91184e5 100644
--- a/src/wasm-traversal.h
+++ b/src/wasm-traversal.h
@@ -282,7 +282,7 @@ struct Walker : public VisitorType {
// nested.
// Tasks receive the this pointer and a pointer to the pointer to operate on
- using TaskFunc = std::function<void(SubType*, Expression**)>;
+ typedef void (*TaskFunc)(SubType*, Expression**);
struct Task {
TaskFunc func;