From 423d9ee3936fd37aedbf96d29d6551612c7565c7 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 3 Nov 2017 22:42:18 +0100 Subject: [PATCH] Move all helper functions inside JsonReflector namespace --- lib/json/reflector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/json/reflector.h b/lib/json/reflector.h index dcba510..223c1b7 100644 --- a/lib/json/reflector.h +++ b/lib/json/reflector.h @@ -24,6 +24,8 @@ namespace ReflectiveRapidJSON { template struct JsonSerializable; +namespace JsonReflector { + /*! * \brief Serializes the specified JSON \a document. */ @@ -48,8 +50,6 @@ inline RAPIDJSON_NAMESPACE::Document parseJsonDocFromString(const char *json, st return document; } -namespace JsonReflector { - // define functions to "push" values to a RapidJSON array or object /*!