diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-09-24 10:08:44 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-09-24 10:08:44 -0500 |
| commit | ee6e84962721b0a47e2aea4f9cbdb6e796332441 (patch) | |
| tree | 1f51a24f62ed6aa8d937c5183a669f0a85b2188b /src/wallet/message_store.cpp | |
| parent | eadef8d9cdf2099c5c89123106dbb32ba9a52963 (diff) | |
| parent | 928f4be9531a40fcca92d9f878e08f8111254990 (diff) | |
| download | monzero-core-ee6e84962721b0a47e2aea4f9cbdb6e796332441.tar.gz monzero-core-ee6e84962721b0a47e2aea4f9cbdb6e796332441.tar.xz monzero-core-ee6e84962721b0a47e2aea4f9cbdb6e796332441.zip | |
Merge pull request #5877
2cd4fd8 Changed the use of boost:value_initialized for C++ list initializer (JesusRami)
4ad191f Removed unused boost/value_init header (whyamiroot)
928f4be Make null hash constants constexpr (whyamiroot)
Diffstat (limited to 'src/wallet/message_store.cpp')
| -rw-r--r-- | src/wallet/message_store.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/message_store.cpp b/src/wallet/message_store.cpp index 96d4ef3ce..6e2cb933f 100644 --- a/src/wallet/message_store.cpp +++ b/src/wallet/message_store.cpp @@ -699,7 +699,7 @@ void message_store::write_to_file(const multisig_wallet_state &state, const std: crypto::chacha_key key; crypto::generate_chacha_key(&state.view_secret_key, sizeof(crypto::secret_key), key, 1); - file_data write_file_data = boost::value_initialized<file_data>(); + file_data write_file_data = {}; write_file_data.magic_string = "MMS"; write_file_data.file_version = 0; write_file_data.iv = crypto::rand<crypto::chacha_iv>(); |
