We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d651d82 + badcac8 commit bc4224dCopy full SHA for bc4224d
core/include/core/G3.h
@@ -18,18 +18,17 @@ CEREAL_CLASS_VERSION(x, version); \
18
CEREAL_REGISTER_TYPE_WITH_NAME(x, #x); \
19
CEREAL_SPECIALIZE_FOR_ALL_ARCHIVES(x, cereal::specialization::member_load_save);
20
21
-// Serialization versioning
22
template <class T>
23
inline uint32_t
24
-_g3_class_version(T *)
+g3_class_version(T *)
25
{
26
return cereal::detail::Version<T>::version;
27
}
28
29
#define G3_CHECK_VERSION(v) \
30
- if ((uint32_t)v > _g3_class_version(this)) \
+ if ((uint32_t)v > g3_class_version(this)) \
31
log_fatal("Trying to read newer class version (%d) than " \
32
"supported (%d). Please upgrade your software.", v, \
33
- _g3_class_version(this));
+ g3_class_version(this));
34
35
#endif
0 commit comments