Work around missing move operations in MSVC12

This commit is contained in:
Jason Turner
2014-10-05 21:53:44 -06:00
parent 935e9de19e
commit 58d9e69479
4 changed files with 9 additions and 3 deletions

View File

@@ -233,7 +233,7 @@ namespace chaiscript
template<typename LHS, bool Float>
static Boxed_Value oper_rhs(Operators::Opers t_oper, const Boxed_Value &t_lhs, const Boxed_Value &t_rhs)
{
const Type_Info &inp_ = t_rhs.get_type_info();
const auto &inp_ = t_rhs.get_type_info();
if (inp_ == typeid(int)) {
return Go<LHS, int, Float>::go(t_oper, t_lhs, t_rhs);