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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm-traversal.h b/src/wasm-traversal.h
index c79be1c10..fe3e3c5dd 100644
--- a/src/wasm-traversal.h
+++ b/src/wasm-traversal.h
@@ -671,7 +671,7 @@ struct PostWalker : public Walker<SubType, VisitorType> {
template<typename SubType, typename VisitorType = Visitor<SubType>>
struct ControlFlowWalker : public PostWalker<SubType, VisitorType> {
- ControlFlowWalker() {}
+ ControlFlowWalker() = default;
std::vector<Expression*> controlFlowStack; // contains blocks, loops, and ifs
@@ -734,7 +734,7 @@ struct ControlFlowWalker : public PostWalker<SubType, VisitorType> {
template<typename SubType, typename VisitorType = Visitor<SubType>>
struct ExpressionStackWalker : public PostWalker<SubType, VisitorType> {
- ExpressionStackWalker() {}
+ ExpressionStackWalker() = default;
std::vector<Expression*> expressionStack;
@@ -798,7 +798,7 @@ struct ExpressionStackWalker : public PostWalker<SubType, VisitorType> {
template<typename SubType, typename VisitorType = Visitor<SubType>>
struct LinearExecutionWalker : public PostWalker<SubType, VisitorType> {
- LinearExecutionWalker() {}
+ LinearExecutionWalker() = default;
// subclasses should implement this
void noteNonLinear(Expression* curr) { abort(); }