@@ -191,9 +191,9 @@ inline auto do_serialize(Archive &ar, T &v, Args&&... args)
191191 * VARINT_FIELD_F(). Otherwise, this macro is similar to
192192 * BEGIN_SERIALIZE_OBJECT(), as you should list only field serializations.
193193 */
194- #define BEGIN_SERIALIZE_OBJECT_FN (stype, ...) \
195- template <bool W, template <bool > class Archive > \
196- bool do_serialize_object (Archive<W> &ar, stype &v VA_ARGS_COMMAPREFIX (__VA_ARGS__) ) {
194+ #define BEGIN_SERIALIZE_OBJECT_FN (stype ) \
195+ template <bool W, template <bool > class Archive > \
196+ bool do_serialize_object (Archive<W> &ar, stype &v) {
197197
198198/* ! \macro PREPARE_CUSTOM_VECTOR_SERIALIZATION
199199 */
@@ -214,7 +214,7 @@ inline auto do_serialize(Archive &ar, T &v, Args&&... args)
214214#define FIELD_N (t, f, ...) \
215215 do { \
216216 ar.tag (t); \
217- bool r = do_serialize (ar, f VA_ARGS_COMMAPREFIX (__VA_ARGS__) ); \
217+ bool r = do_serialize (ar, f); \
218218 if (!r || !ar.good ()) return false ; \
219219 } while (0 );
220220
@@ -233,7 +233,7 @@ inline auto do_serialize(Archive &ar, T &v, Args&&... args)
233233 *
234234 * \brief tags the field with the variable name and then serializes it (for use in a free function)
235235 */
236- #define FIELD_F (f, ... ) FIELD_N(#f, v.f VA_ARGS_COMMAPREFIX (__VA_ARGS__) )
236+ #define FIELD_F (f ) FIELD_N(#f, v.f)
237237
238238/* ! \macro FIELDS(f)
239239 *
0 commit comments