mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 08:34:20 -04:00
Changed the use of boost:value_initialized for C++ list initializer
This commit is contained in:
parent
98af2e954b
commit
2cd4fd8972
13 changed files with 35 additions and 35 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue