summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/sol2/sol/table_iterator.hpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/sol2/sol/table_iterator.hpp')
-rw-r--r--3rdparty/sol2/sol/table_iterator.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/sol2/sol/table_iterator.hpp b/3rdparty/sol2/sol/table_iterator.hpp
index 7d81a6515bb..c1102a8eff6 100644
--- a/3rdparty/sol2/sol/table_iterator.hpp
+++ b/3rdparty/sol2/sol/table_iterator.hpp
@@ -57,7 +57,7 @@ namespace sol {
basic_table_iterator(reference_type x) : ref(std::move(x)) {
ref.push();
tableidx = lua_gettop(ref.lua_state());
- stack::push(ref.lua_state(), nil);
+ stack::push(ref.lua_state(), lua_nil);
this->operator++();
if (idx == -1) {
return;