From 2cd4fd8972620737956aeeb4262209f8a446e3ee Mon Sep 17 00:00:00 2001 From: Jesus Ramirez Date: Wed, 26 Jun 2019 10:39:41 -0400 Subject: Changed the use of boost:value_initialized for C++ list initializer --- tests/unit_tests/test_protocol_pack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit_tests') 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()); + r.m_block_ids.resize(i, crypto::hash{}); bool res = epee::serialization::store_t_to_binary(r, buff); ASSERT_TRUE(res); -- cgit v1.2.3