diff options
Diffstat (limited to 'include/wabt/binary.h')
-rw-r--r-- | include/wabt/binary.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wabt/binary.h b/include/wabt/binary.h index a5740c89..485f15cb 100644 --- a/include/wabt/binary.h +++ b/include/wabt/binary.h @@ -65,7 +65,7 @@ enum class BinarySection { Last = Tag, }; /* clang-format on */ -static const int kBinarySectionCount = WABT_ENUM_COUNT(BinarySection); +constexpr int kBinarySectionCount = WABT_ENUM_COUNT(BinarySection); enum class BinarySectionOrder { #define V(Name, name, code) Name, |