Rollback template alias, not supported in gcc 4.6

This commit is contained in:
Jason Turner
2014-09-19 21:46:52 -06:00
parent 93c1cfde99
commit 81184cbbd7
2 changed files with 15 additions and 8 deletions

View File

@@ -86,7 +86,7 @@ namespace chaiscript
#pragma warning(disable : 4127)
#endif
if (std::is_polymorphic<Bare_Type<Type>>::value && t_conversions)
if (std::is_polymorphic<typename detail::Bare_Type<Type>::type>::value && t_conversions)
{
try {
// std::cout << "trying an up conversion " << typeid(Type).name() << std::endl;