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/tools.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/tools.cpp')
-rw-r--r-- | src/tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools.cpp b/src/tools.cpp index d0204a6..34b9faf 100644 --- a/src/tools.cpp +++ b/src/tools.cpp | |||
@@ -340,7 +340,7 @@ namespace tools { | |||
340 | STACK_CHECK(L_, 2); | 340 | STACK_CHECK(L_, 2); |
341 | } | 341 | } |
342 | // retrieve the cache, create it if we haven't done it yet | 342 | // retrieve the cache, create it if we haven't done it yet |
343 | std::ignore = kLookupCacheRegKey.getSubTable(L_, 0, 0); // L_: {} {fqn} {cache} | 343 | std::ignore = kLookupCacheRegKey.getSubTable(L_, NArr{ 0 }, NRec{ 0 }); // L_: {} {fqn} {cache} |
344 | // process everything we find in that table, filling in lookup data for all functions and tables we see there | 344 | // process everything we find in that table, filling in lookup data for all functions and tables we see there |
345 | populate_func_lookup_table_recur(L_, _dbIdx, _in_base, _startDepth); | 345 | populate_func_lookup_table_recur(L_, _dbIdx, _in_base, _startDepth); |
346 | lua_pop(L_, 3); // L_: | 346 | lua_pop(L_, 3); // L_: |