summaryrefslogtreecommitdiff
path: root/src/ir/count.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/count.h')
-rw-r--r--src/ir/count.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/count.h b/src/ir/count.h
index 1fef3a870..d9c89b4ce 100644
--- a/src/ir/count.h
+++ b/src/ir/count.h
@@ -22,7 +22,7 @@ namespace wasm {
struct GetLocalCounter : public PostWalker<GetLocalCounter> {
std::vector<Index> num;
- GetLocalCounter() {}
+ GetLocalCounter() = default;
GetLocalCounter(Function* func) {
analyze(func, func->body);
}