aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorJesus Ramirez <jesus.rami.serra@gmail.com>2019-06-26 10:39:41 -0400
committerLev Sizov <levsizov2015@outlook.com>2019-09-02 14:16:29 +0200
commit2cd4fd8972620737956aeeb4262209f8a446e3ee (patch)
tree373063be806047bfef91beee69730a9c39045c07 /src/crypto
parentMerge pull request #5793 (diff)
downloadmonero-2cd4fd8972620737956aeeb4262209f8a446e3ee.tar.xz
Changed the use of boost:value_initialized for C++ list initializer
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/hash.h4
1 files changed, 2 insertions, 2 deletions
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<crypto::hash>();
- const static crypto::hash8 null_hash8 = boost::value_initialized<crypto::hash8>();
+ const static crypto::hash null_hash = {};
+ const static crypto::hash8 null_hash8 = {};
}
CRYPTO_MAKE_HASHABLE(hash)