diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-24 14:37:17 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-24 14:37:17 +0200 |
commit | 958ed4f1e29418e90f3dd3de6779e30e05f70448 (patch) | |
tree | 01f42e0fa04b3fd806accfdc6d912fc7f99cd12f /src/deep.cpp | |
parent | eba98e4e1adcf3ce11e5934e2dce54f29aef1e0a (diff) | |
download | lanes-958ed4f1e29418e90f3dd3de6779e30e05f70448.tar.gz lanes-958ed4f1e29418e90f3dd3de6779e30e05f70448.tar.bz2 lanes-958ed4f1e29418e90f3dd3de6779e30e05f70448.zip |
More strong typing for UniqueKey::getSubTable() arguments
Diffstat (limited to 'src/deep.cpp')
-rw-r--r-- | src/deep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deep.cpp b/src/deep.cpp index 0d801a3..bfadeac 100644 --- a/src/deep.cpp +++ b/src/deep.cpp | |||
@@ -342,7 +342,7 @@ void DeepFactory::storeDeepLookup(lua_State* const L_) const | |||
342 | // the deep metatable is at the top of the stack // L_: mt | 342 | // the deep metatable is at the top of the stack // L_: mt |
343 | STACK_GROW(L_, 3); | 343 | STACK_GROW(L_, 3); |
344 | STACK_CHECK_START_REL(L_, 0); // L_: mt | 344 | STACK_CHECK_START_REL(L_, 0); // L_: mt |
345 | std::ignore = kDeepLookupRegKey.getSubTable(L_, 0, 0); // L_: mt {} | 345 | std::ignore = kDeepLookupRegKey.getSubTable(L_, NArr{ 0 }, NRec{ 0 }); // L_: mt {} |
346 | lua_pushvalue(L_, -2); // L_: mt {} mt | 346 | lua_pushvalue(L_, -2); // L_: mt {} mt |
347 | lua_pushlightuserdata(L_, std::bit_cast<void*>(this)); // L_: mt {} mt factory | 347 | lua_pushlightuserdata(L_, std::bit_cast<void*>(this)); // L_: mt {} mt factory |
348 | lua_rawset(L_, -3); // L_: mt {} | 348 | lua_rawset(L_, -3); // L_: mt {} |