Fix llvm (probably affecting gcc too, MSVC is too lax onthe use of "typename")
This commit is contained in:
parent
3f87210dc5
commit
c1318eb8b4
@ -184,7 +184,7 @@ namespace chaiscript
|
|||||||
return Type_Info(boost::is_const<T>::value, boost::is_reference<T>::value, boost::is_pointer<T>::value,
|
return Type_Info(boost::is_const<T>::value, boost::is_reference<T>::value, boost::is_pointer<T>::value,
|
||||||
boost::is_void<T>::value,
|
boost::is_void<T>::value,
|
||||||
&typeid(boost::reference_wrapper<T> ),
|
&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,
|
return Type_Info(boost::is_const<T>::value, boost::is_reference<T>::value, boost::is_pointer<T>::value,
|
||||||
boost::is_void<T>::value,
|
boost::is_void<T>::value,
|
||||||
&typeid(const boost::reference_wrapper<T> &),
|
&typeid(const boost::reference_wrapper<T> &),
|
||||||
&typeid(Bare_Type<T>::type));
|
&typeid(typename Bare_Type<T>::type));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user