From 2cd4fd8972620737956aeeb4262209f8a446e3ee Mon Sep 17 00:00:00 2001 From: Jesus Ramirez Date: Wed, 26 Jun 2019 10:39:41 -0400 Subject: Changed the use of boost:value_initialized for C++ list initializer --- src/crypto/hash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crypto/hash.h') diff --git a/src/crypto/hash.h b/src/crypto/hash.h index 17071923d..83278e659 100644 --- a/src/crypto/hash.h +++ b/src/crypto/hash.h @@ -90,8 +90,8 @@ namespace crypto { epee::to_hex::formatted(o, epee::as_byte_span(v)); return o; } - const static crypto::hash null_hash = boost::value_initialized(); - const static crypto::hash8 null_hash8 = boost::value_initialized(); + const static crypto::hash null_hash = {}; + const static crypto::hash8 null_hash8 = {}; } CRYPTO_MAKE_HASHABLE(hash) -- cgit v1.2.3