From 21e3d1cc0aadf87b4611f45a2562a5cf5fc4b4c5 Mon Sep 17 00:00:00 2001 From: Mario Bielert Date: Mon, 22 Jul 2013 21:24:16 +0200 Subject: [PATCH] Fixes build issue for Boxed_Value This ixes the problem, that one has to include chaiscript.hpp to build compilation units, which only use Boxed_Value and boxed_cast. You can now just include boxed_cast.hpp. This decreases build time significant. --- include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp b/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp index 38894a0..97964ca 100644 --- a/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp +++ b/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp @@ -7,6 +7,9 @@ #ifndef CHAISCRIPT_DYNAMIC_CAST_CONVERSION_HPP_ #define CHAISCRIPT_DYNAMIC_CAST_CONVERSION_HPP_ +#include +#include + #include "type_info.hpp" #include "boxed_value.hpp" #include "boxed_cast_helper.hpp"