forked from lthn/blockchain
fixed a typo
This commit is contained in:
parent
8403de3b91
commit
76b403b805
1 changed files with 2 additions and 2 deletions
|
|
@ -98,14 +98,14 @@ do { \
|
|||
if (!ar.stream().good()) return false; \
|
||||
} while (0);
|
||||
|
||||
#define DEFINE_SERIALIZATION_VERSION(v) inline static uint32_t get_serialization_veraion(){ return v; }
|
||||
#define DEFINE_SERIALIZATION_VERSION(v) inline static uint32_t get_serialization_version() { return v; }
|
||||
|
||||
|
||||
#define VERSION_ENTRY(f) \
|
||||
do { \
|
||||
ar.tag(#f); \
|
||||
if (ar.is_saving_arch()) \
|
||||
f = this->get_serialization_veraion(); \
|
||||
f = this->get_serialization_version(); \
|
||||
bool r = ::do_serialize(ar, f); \
|
||||
if (!r || !ar.stream().good()) return false; \
|
||||
} while (0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue