diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-24 11:30:18 +0200 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-24 11:30:18 +0200 |
| commit | eba98e4e1adcf3ce11e5934e2dce54f29aef1e0a (patch) | |
| tree | d51d51eb2d48208df1cfdf6eb0bd40a928d6243c /src/compat.cpp | |
| parent | 8745a54f88f31cd51dc86c96039ebe0b3e98f5ea (diff) | |
| download | lanes-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.cpp | 2 |
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 | ||
| 86 | void* lua_newuserdatauv(lua_State* const L_, size_t const sz_, [[maybe_unused]] int const nuvalue_) | 86 | void* 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_); |
