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 /tests/unit_tests/test_protocol_pack.cpp | |
| parent | 98af2e954b78dc7607d0236a9db84b2143a33a90 (diff) | |
| download | monzero-core-2cd4fd8972620737956aeeb4262209f8a446e3ee.tar.gz monzero-core-2cd4fd8972620737956aeeb4262209f8a446e3ee.tar.xz monzero-core-2cd4fd8972620737956aeeb4262209f8a446e3ee.zip | |
Changed the use of boost:value_initialized for C++ list initializer
Diffstat (limited to 'tests/unit_tests/test_protocol_pack.cpp')
| -rw-r--r-- | tests/unit_tests/test_protocol_pack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/test_protocol_pack.cpp b/tests/unit_tests/test_protocol_pack.cpp index 0ae2e9c68..59e46e332 100644 --- a/tests/unit_tests/test_protocol_pack.cpp +++ b/tests/unit_tests/test_protocol_pack.cpp @@ -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); |
