diff options
Diffstat (limited to 'src/uniquekey.h')
-rw-r--r-- | src/uniquekey.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uniquekey.h b/src/uniquekey.h index 9981bb8..cfc8ab0 100644 --- a/src/uniquekey.h +++ b/src/uniquekey.h | |||
@@ -62,9 +62,9 @@ class RegistryUniqueKey | |||
62 | void setValue(lua_State* L_, OP operation_) const | 62 | void setValue(lua_State* L_, OP operation_) const |
63 | { | 63 | { |
64 | // Note we can't check stack consistency because operation is not always a push (could be insert, replace, whatever) | 64 | // Note we can't check stack consistency because operation is not always a push (could be insert, replace, whatever) |
65 | pushKey(L_); // ... key | 65 | pushKey(L_); // ... key |
66 | operation_(L_); // ... key value | 66 | operation_(L_); // ... key value |
67 | lua_rawset(L_, LUA_REGISTRYINDEX); // ... | 67 | lua_rawset(L_, LUA_REGISTRYINDEX); // ... |
68 | } | 68 | } |
69 | // --------------------------------------------------------------------------------------------- | 69 | // --------------------------------------------------------------------------------------------- |
70 | template <typename T> | 70 | template <typename T> |