aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/test_protocol_pack.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-24 10:08:44 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-24 10:08:44 -0500
commitee6e84962721b0a47e2aea4f9cbdb6e796332441 (patch)
tree1f51a24f62ed6aa8d937c5183a669f0a85b2188b /tests/unit_tests/test_protocol_pack.cpp
parentMerge pull request #5875 (diff)
parentMake null hash constants constexpr (diff)
downloadmonero-ee6e84962721b0a47e2aea4f9cbdb6e796332441.tar.xz
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)
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);