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 /deep_test | |
parent | 8745a54f88f31cd51dc86c96039ebe0b3e98f5ea (diff) | |
download | lanes-eba98e4e1adcf3ce11e5934e2dce54f29aef1e0a.tar.gz lanes-eba98e4e1adcf3ce11e5934e2dce54f29aef1e0a.tar.bz2 lanes-eba98e4e1adcf3ce11e5934e2dce54f29aef1e0a.zip |
Make Unique even stronger
Diffstat (limited to 'deep_test')
-rw-r--r-- | deep_test/deep_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deep_test/deep_test.cpp b/deep_test/deep_test.cpp index a6c6296..974709f 100644 --- a/deep_test/deep_test.cpp +++ b/deep_test/deep_test.cpp | |||
@@ -229,7 +229,7 @@ static luaL_Reg const clonable_mt[] = { | |||
229 | 229 | ||
230 | int luaD_new_clonable(lua_State* L) | 230 | int luaD_new_clonable(lua_State* L) |
231 | { | 231 | { |
232 | int const _nuv{ static_cast<int>(luaL_optinteger(L, 1, 1)) }; | 232 | UserValueCount const _nuv{ static_cast<int>(luaL_optinteger(L, 1, 1)) }; |
233 | lua_newuserdatauv(L, sizeof(MyClonableUserdata), _nuv); | 233 | lua_newuserdatauv(L, sizeof(MyClonableUserdata), _nuv); |
234 | luaG_setmetatable(L, "clonable"); | 234 | luaG_setmetatable(L, "clonable"); |
235 | return 1; | 235 | return 1; |