forked from lthn/blockchain
unit_tests: repair compilation on the G++ 12 compiler (#473)
This commit is contained in:
parent
d88e1952a6
commit
4e78beebeb
1 changed files with 6 additions and 4 deletions
|
|
@ -26,10 +26,12 @@ struct Struct
|
|||
char blob[8];
|
||||
};
|
||||
|
||||
|
||||
std::ostream& operator <<(std::ostream& o, const currency::signature_v& v)
|
||||
namespace currency
|
||||
{
|
||||
return o;
|
||||
ostream& operator<<(ostream& stream, [[maybe_unused]] const currency::signature_v& signature)
|
||||
{
|
||||
return stream;
|
||||
}
|
||||
}
|
||||
|
||||
template <class Archive>
|
||||
|
|
@ -902,4 +904,4 @@ TEST(Serialization, versioning2)
|
|||
r = perform_test_ser_vers<A_v3>(a_3);
|
||||
ASSERT_TRUE(r);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue