summaryrefslogtreecommitdiff
path: root/include/wabt/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wabt/ir.h')
-rw-r--r--include/wabt/ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wabt/ir.h b/include/wabt/ir.h
index 6bd9ffa3..ac79ecbb 100644
--- a/include/wabt/ir.h
+++ b/include/wabt/ir.h
@@ -1320,7 +1320,7 @@ enum class CommandType {
First = Module,
Last = AssertException,
};
-static const int kCommandTypeCount = WABT_ENUM_COUNT(CommandType);
+constexpr int kCommandTypeCount = WABT_ENUM_COUNT(CommandType);
class Command {
public: