1
0
Fork 0
forked from lthn/blockchain

fixed compilation for unit_tests

This commit is contained in:
cryptozoidberg 2022-09-14 22:08:21 +02:00
parent f3f5c11c5e
commit 91e8b2ba6f
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -263,7 +263,7 @@ TEST(Serialization, serializes_vector_int64_as_fixed_int)
ASSERT_TRUE(serialization::dump_binary(v, blob)); ASSERT_TRUE(serialization::dump_binary(v, blob));
ASSERT_EQ(57, blob.size()); ASSERT_EQ(57, blob.size());
} }
/*
namespace namespace
{ {
template<typename T> template<typename T>
@ -287,8 +287,8 @@ namespace
} }
return res; return res;
} }
} }
*/
bool test_get_varint_packed_size_for_num(uint64_t n) bool test_get_varint_packed_size_for_num(uint64_t n)
{ {