aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/test_protocol_pack.cpp
diff options
context:
space:
mode:
authorJesus Ramirez <jesus.rami.serra@gmail.com>2019-06-26 10:39:41 -0400
committerLev Sizov <levsizov2015@outlook.com>2019-09-02 14:16:29 +0200
commit2cd4fd8972620737956aeeb4262209f8a446e3ee (patch)
tree373063be806047bfef91beee69730a9c39045c07 /tests/unit_tests/test_protocol_pack.cpp
parentMerge pull request #5793 (diff)
downloadmonero-2cd4fd8972620737956aeeb4262209f8a446e3ee.tar.xz
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.cpp2
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);