Skip to content

Commit

Permalink
Merge pull request #8 from NoodleDoodleNoodleDoodleNoodleDoodleNoo/pa…
Browse files Browse the repository at this point in the history
…tch-5

Update serialization.h
  • Loading branch information
monero-project committed May 14, 2014
2 parents 9b2d1bc + c0cf78a commit 5c820f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/serialization/serialization.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 5c820f9

Please sign in to comment.