summaryrefslogtreecommitdiff
path: root/include/wabt/opcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wabt/opcode.h')
-rw-r--r--include/wabt/opcode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wabt/opcode.h b/include/wabt/opcode.h
index 24b45ab6..47e27f9b 100644
--- a/include/wabt/opcode.h
+++ b/include/wabt/opcode.h
@@ -91,9 +91,9 @@ struct Opcode {
bool IsInvalid() const { return enum_ >= Invalid; }
private:
- static const uint32_t kMathPrefix = 0xfc;
- static const uint32_t kThreadsPrefix = 0xfe;
- static const uint32_t kSimdPrefix = 0xfd;
+ static constexpr uint32_t kMathPrefix = 0xfc;
+ static constexpr uint32_t kThreadsPrefix = 0xfe;
+ static constexpr uint32_t kSimdPrefix = 0xfd;
struct Info {
const char* name;