diff options
Diffstat (limited to 'src/scripting/luautil.h')
-rw-r--r-- | src/scripting/luautil.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripting/luautil.h b/src/scripting/luautil.h index 8bcc2a30..26ed33c7 100644 --- a/src/scripting/luautil.h +++ b/src/scripting/luautil.h @@ -230,7 +230,7 @@ void pushSTLContainer(lua_State *s, const std::list<T> &container) { push(s, *i); lua_rawseti(s, table, key); - i++; + ++i; } } @@ -264,7 +264,7 @@ void pushSTLContainer(lua_State *s, const std::map<Tkey, Tval> &container) push(s, i->first); push(s, i->second); lua_settable(s, table); - i++; + ++i; } } @@ -282,7 +282,7 @@ void pushSTLContainer(lua_State *s, const std::set<T> &container) { push(s, *i); lua_rawseti(s, table, key); - i++; + ++i; } } |