diff options
Diffstat (limited to 'src/lanes_private.h')
-rw-r--r-- | src/lanes_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lanes_private.h b/src/lanes_private.h index 859c8a2..083ac4e 100644 --- a/src/lanes_private.h +++ b/src/lanes_private.h | |||
@@ -98,7 +98,7 @@ static constexpr RegistryUniqueKey kLanePointerRegKey{ 0x2D8CF03FE9F0A51Aull }; | |||
98 | // 'Lane' are malloc/free'd and the handle only carries a pointer. | 98 | // 'Lane' are malloc/free'd and the handle only carries a pointer. |
99 | // This is not deep userdata since the handle's not portable among lanes. | 99 | // This is not deep userdata since the handle's not portable among lanes. |
100 | // | 100 | // |
101 | [[nodiscard]] inline Lane* ToLane(lua_State* L, int i_) | 101 | [[nodiscard]] inline Lane* ToLane(lua_State* L_, int i_) |
102 | { | 102 | { |
103 | return *(static_cast<Lane**>(luaL_checkudata(L, i_, "Lane"))); | 103 | return *(static_cast<Lane**>(luaL_checkudata(L_, i_, "Lane"))); |
104 | } | 104 | } |