Fix llvm (probably affecting gcc too, MSVC is too lax onthe use of "typename")

This commit is contained in:
Jason Turner 2010-10-08 18:42:59 +00:00
parent 3f87210dc5
commit c1318eb8b4

View File

@ -184,7 +184,7 @@ namespace chaiscript
return Type_Info(boost::is_const<T>::value, boost::is_reference<T>::value, boost::is_pointer<T>::value,
boost::is_void<T>::value,
&typeid(boost::reference_wrapper<T> ),
&typeid(Bare_Type<T>::type));
&typeid(typename Bare_Type<T>::type));
}
};
@ -198,7 +198,7 @@ namespace chaiscript
return Type_Info(boost::is_const<T>::value, boost::is_reference<T>::value, boost::is_pointer<T>::value,
boost::is_void<T>::value,
&typeid(const boost::reference_wrapper<T> &),
&typeid(Bare_Type<T>::type));
&typeid(typename Bare_Type<T>::type));
}
};
}