aboutsummaryrefslogtreecommitdiff
path: root/src/uniquekey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uniquekey.h')
-rw-r--r--src/uniquekey.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uniquekey.h b/src/uniquekey.h
index 78c0765..84553a5 100644
--- a/src/uniquekey.h
+++ b/src/uniquekey.h
@@ -44,8 +44,10 @@ class UniqueKey
44 } 44 }
45 void pushValue(lua_State* const L) const 45 void pushValue(lua_State* const L) const
46 { 46 {
47 STACK_CHECK_START_REL(L, 0);
47 pushKey(L); 48 pushKey(L);
48 lua_rawget(L, LUA_REGISTRYINDEX); 49 lua_rawget(L, LUA_REGISTRYINDEX);
50 STACK_CHECK(L, 1);
49 } 51 }
50 template <typename OP> 52 template <typename OP>
51 void setValue(lua_State* L, OP operation_) const 53 void setValue(lua_State* L, OP operation_) const