diff --git a/lib/json/reflector.h b/lib/json/reflector.h index 18ad0a7..f82dc13 100644 --- a/lib/json/reflector.h +++ b/lib/json/reflector.h @@ -83,7 +83,9 @@ template using IsCustomType = Traits::Not>; // define trait to check for custom structs/classes which are JSON serializable // NOTE: the check for Traits::IsComplete is required because std::is_base_of fails for incomplete types when using GCC -template using IsJsonSerializable = Traits::Any>, std::is_base_of, Type>, AdaptedJsonSerializable>; +template +using IsJsonSerializable + = Traits::Any>, std::is_base_of, Type>, AdaptedJsonSerializable>; // define trait to check for map or hash template diff --git a/lib/json/serializable.h b/lib/json/serializable.h index 1820f05..24abcf9 100644 --- a/lib/json/serializable.h +++ b/lib/json/serializable.h @@ -106,7 +106,7 @@ const JsonSerializable &as(const Type &serializable) * Find out whether this is a compiler bug or a correct error message. */ #define REFLECTIVE_RAPIDJSON_MAKE_JSON_SERIALIZABLE(T) \ - template <> struct ReflectiveRapidJSON::AdaptedJsonSerializable : Traits::Bool { \ + template <> struct ReflectiveRapidJSON::AdaptedJsonSerializable : Traits::Bool { \ } /*!