aboutsummaryrefslogtreecommitdiff
path: root/src/compat.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-10-24 11:30:18 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-10-24 11:30:18 +0200
commiteba98e4e1adcf3ce11e5934e2dce54f29aef1e0a (patch)
treed51d51eb2d48208df1cfdf6eb0bd40a928d6243c /src/compat.cpp
parent8745a54f88f31cd51dc86c96039ebe0b3e98f5ea (diff)
downloadlanes-eba98e4e1adcf3ce11e5934e2dce54f29aef1e0a.tar.gz
lanes-eba98e4e1adcf3ce11e5934e2dce54f29aef1e0a.tar.bz2
lanes-eba98e4e1adcf3ce11e5934e2dce54f29aef1e0a.zip
Make Unique even stronger
Diffstat (limited to 'src/compat.cpp')
-rw-r--r--src/compat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.cpp b/src/compat.cpp
index 1be910f..b661b28 100644
--- a/src/compat.cpp
+++ b/src/compat.cpp
@@ -83,7 +83,7 @@ void luaL_requiref(lua_State* L_, const char* modname_, lua_CFunction openf_, in
83// ################################################################################################# 83// #################################################################################################
84// ################################################################################################# 84// #################################################################################################
85 85
86void* lua_newuserdatauv(lua_State* const L_, size_t const sz_, [[maybe_unused]] int const nuvalue_) 86void* lua_newuserdatauv(lua_State* const L_, size_t const sz_, [[maybe_unused]] UserValueCount const nuvalue_)
87{ 87{
88 LUA_ASSERT(L_, nuvalue_ <= 1); 88 LUA_ASSERT(L_, nuvalue_ <= 1);
89 return lua_newuserdata(L_, sz_); 89 return lua_newuserdata(L_, sz_);