Herp the derp.

Really fixes #119
This commit is contained in:
ThePhD 2016-06-15 12:18:30 -04:00
parent 3bece97a40
commit ba2dd387eb

View File

@ -248,7 +248,7 @@ namespace sol {
string_detail::string_shim accessor = stack::get<string_detail::string_shim>(L, -2);
return f.find_call(std::false_type(), std::make_index_sequence<std::tuple_size<Tuple>::value>(), L, accessor);
}
return f.indexfunc(L);
return f.newindexfunc(L);
}
template <std::size_t I, bool is_index = true, bool is_variable = false>