summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 0c7b2a9ad..72fe28bbd 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -48,8 +48,8 @@ struct Address {
typedef uint32_t address32_t;
typedef uint64_t address64_t;
address64_t addr;
- Address() : addr(0) {}
- Address(uint64_t a) : addr(a) {}
+ constexpr Address() : addr(0) {}
+ constexpr Address(uint64_t a) : addr(a) {}
Address& operator=(uint64_t a) {
addr = a;
return *this;