mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
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)
This commit is contained in:
commit
ee6e849627
13 changed files with 35 additions and 38 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