From c1318eb8b45c3857bddd8333113ab56c1a064957 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Fri, 8 Oct 2010 18:42:59 +0000 Subject: [PATCH] Fix llvm (probably affecting gcc too, MSVC is too lax onthe use of "typename") --- include/chaiscript/dispatchkit/type_info.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/chaiscript/dispatchkit/type_info.hpp b/include/chaiscript/dispatchkit/type_info.hpp index 6d07058..d0e3515 100644 --- a/include/chaiscript/dispatchkit/type_info.hpp +++ b/include/chaiscript/dispatchkit/type_info.hpp @@ -184,7 +184,7 @@ namespace chaiscript return Type_Info(boost::is_const::value, boost::is_reference::value, boost::is_pointer::value, boost::is_void::value, &typeid(boost::reference_wrapper ), - &typeid(Bare_Type::type)); + &typeid(typename Bare_Type::type)); } }; @@ -198,7 +198,7 @@ namespace chaiscript return Type_Info(boost::is_const::value, boost::is_reference::value, boost::is_pointer::value, boost::is_void::value, &typeid(const boost::reference_wrapper &), - &typeid(Bare_Type::type)); + &typeid(typename Bare_Type::type)); } }; }