diff options
author | Jesus Ramirez <jesus.rami.serra@gmail.com> | 2019-06-26 10:39:41 -0400 |
---|---|---|
committer | Lev Sizov <levsizov2015@outlook.com> | 2019-09-02 14:16:29 +0200 |
commit | 2cd4fd8972620737956aeeb4262209f8a446e3ee (patch) | |
tree | 373063be806047bfef91beee69730a9c39045c07 /src/blockchain_utilities/blockchain_import.cpp | |
parent | Merge pull request #5793 (diff) | |
download | monero-2cd4fd8972620737956aeeb4262209f8a446e3ee.tar.xz |
Changed the use of boost:value_initialized for C++ list initializer
Diffstat (limited to 'src/blockchain_utilities/blockchain_import.cpp')
-rw-r--r-- | src/blockchain_utilities/blockchain_import.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_import.cpp b/src/blockchain_utilities/blockchain_import.cpp index cb9154f29..801fe34ef 100644 --- a/src/blockchain_utilities/blockchain_import.cpp +++ b/src/blockchain_utilities/blockchain_import.cpp @@ -225,7 +225,7 @@ int check_flush(cryptonote::core &core, std::vector<block_complete_entry> &block // process block - block_verification_context bvc = boost::value_initialized<block_verification_context>(); + block_verification_context bvc = {}; core.handle_incoming_block(block_entry.block, pblocks.empty() ? NULL : &pblocks[blockidx++], bvc, false); // <--- process block |