diff options
Diffstat (limited to 'src/crypto/hash.h')
-rw-r--r-- | src/crypto/hash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/hash.h b/src/crypto/hash.h index e012d1bd3..27184fa53 100644 --- a/src/crypto/hash.h +++ b/src/crypto/hash.h @@ -89,8 +89,8 @@ namespace crypto { epee::to_hex::formatted(o, epee::as_byte_span(v)); return o; } - const static crypto::hash null_hash = {}; - const static crypto::hash8 null_hash8 = {}; + constexpr static crypto::hash null_hash = {}; + constexpr static crypto::hash8 null_hash8 = {}; } CRYPTO_MAKE_HASHABLE(hash) |