mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
std::cend doesn't exist in older compiler versions...
This commit is contained in:
parent
db7b4f22f2
commit
1c73fb054b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user