diff --git a/lib/tests/traits.cpp b/lib/tests/traits.cpp index 6689957..e4d8e7a 100644 --- a/lib/tests/traits.cpp +++ b/lib/tests/traits.cpp @@ -7,20 +7,14 @@ #include // define structs for testing REFLECTIVE_RAPIDJSON_TREAT_AS_… -struct Foo { -}; -struct Bar { -}; +struct Foo {}; +struct Bar {}; // define structs for testing versioning -struct VersionlessBase : public ReflectiveRapidJSON::BinarySerializable { -}; -struct VersionedDerived : public VersionlessBase, public ReflectiveRapidJSON::BinarySerializable { -}; -struct VersionedBase : public ReflectiveRapidJSON::BinarySerializable { -}; -struct VersionlessDerived : public VersionedBase, public ReflectiveRapidJSON::BinarySerializable { -}; +struct VersionlessBase : public ReflectiveRapidJSON::BinarySerializable {}; +struct VersionedDerived : public VersionlessBase, public ReflectiveRapidJSON::BinarySerializable {}; +struct VersionedBase : public ReflectiveRapidJSON::BinarySerializable {}; +struct VersionlessDerived : public VersionedBase, public ReflectiveRapidJSON::BinarySerializable {}; namespace ReflectiveRapidJSON { REFLECTIVE_RAPIDJSON_TREAT_AS_MAP_OR_HASH(Foo);