From ce89e3d878008e976b6017fabfc50ba91d8d34b5 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 12 Nov 2017 20:13:17 +0100 Subject: [PATCH] Only include required Boost.Hana headers --- lib/json/reflector-boosthana.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/json/reflector-boosthana.h b/lib/json/reflector-boosthana.h index 51c174a..fcdaed4 100644 --- a/lib/json/reflector-boosthana.h +++ b/lib/json/reflector-boosthana.h @@ -14,13 +14,17 @@ #include "./reflector.h" -// TODO: find out which header files are actually relevant rather than including the master -#include +#include +#include +#include +#include +#include +#include namespace ReflectiveRapidJSON { namespace JsonReflector { -// define functions to "push" values to a RapidJSON array or object +// define function to "push" values to a RapidJSON array or object template >...> void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Object &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) @@ -30,7 +34,7 @@ void push(const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Object &value, RA }); } -// define functions to "pull" values from a RapidJSON array or object +// define function to "pull" values from a RapidJSON array or object template >...> void pull(Type &reflectable, const RAPIDJSON_NAMESPACE::GenericValue>::ConstObject &value,