From 10bb97bbc4714469a1ec9395f94b2a1f2f5541c1 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 13 Oct 2022 19:59:20 +0200 Subject: [PATCH] Apply clang-format --- lib/tests/traits.cpp | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) 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);