std::cend doesn't exist in older compiler versions...

This commit is contained in:
ThePhD 2016-11-05 23:25:46 -04:00
parent db7b4f22f2
commit 1c73fb054b

View File

@ -209,8 +209,8 @@ namespace sol {
}
static int real_add_call_push(std::false_type, lua_State*L, T& src, int boost = 0) {
using std::cend;
src.insert(cend(src), stack::get<V>(L, 2 + boost));
using std::end;
src.insert(end(src), stack::get<V>(L, 2 + boost));
return 0;
}