mirror of
https://github.com/monero-project/monero.git
synced 2026-01-18 15:46:59 -08:00
Changed the use of boost:value_initialized for C++ list initializer
This commit is contained in:
@@ -42,7 +42,7 @@ TEST(protocol_pack, protocol_pack_command)
|
||||
r.total_height = 3;
|
||||
for(int i = 1; i < 10000; i += i*10)
|
||||
{
|
||||
r.m_block_ids.resize(i, boost::value_initialized<crypto::hash>());
|
||||
r.m_block_ids.resize(i, crypto::hash{});
|
||||
bool res = epee::serialization::store_t_to_binary(r, buff);
|
||||
ASSERT_TRUE(res);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user