mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #8 from NoodleDoodleNoodleDoodleNoodleDoodleNoo/patch-5
Update serialization.h
This commit is contained in:
commit
5c820f902b
1 changed files with 6 additions and 1 deletions
|
@ -93,7 +93,12 @@ inline bool do_serialize(Archive &ar, T &v)
|
|||
ar.serialize_varint(f); \
|
||||
if (!ar.stream().good()) return false; \
|
||||
} while(0);
|
||||
|
||||
#define VARINT_FIELD_N(t, f) \
|
||||
do { \
|
||||
ar.tag(t); \
|
||||
ar.serialize_varint(f); \
|
||||
if (!ar.stream().good()) return false; \
|
||||
} while(0);
|
||||
namespace serialization {
|
||||
namespace detail
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue