mirror of
https://github.com/wownero/wownero-ng.git
synced 2026-10-17 07:31:30 +02:00
Improved (fixed?) serialization for vec<uint32_t>
This commit is contained in:
@@ -16,6 +16,13 @@ namespace serialization
|
||||
return ::do_serialize(ar, e);
|
||||
}
|
||||
|
||||
template <typename Archive>
|
||||
bool serialize_vector_element(Archive& ar, uint32_t& e)
|
||||
{
|
||||
ar.serialize_varint(e);
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename Archive>
|
||||
bool serialize_vector_element(Archive& ar, uint64_t& e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user