mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 15:16:40 -08:00
Changed the use of boost:value_initialized for C++ list initializer
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user