diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-24 15:53:04 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-24 15:53:04 +0200 |
commit | 45fab6f5b12f00631005b0086931a2f25385146e (patch) | |
tree | 2ff35ec89c2622d6624a691874879d1fdca09006 /src/tools.cpp | |
parent | 3bfb6dec957e5e034c12157787fab9faf75c85a1 (diff) | |
download | lanes-45fab6f5b12f00631005b0086931a2f25385146e.tar.gz lanes-45fab6f5b12f00631005b0086931a2f25385146e.tar.bz2 lanes-45fab6f5b12f00631005b0086931a2f25385146e.zip |
C++ migration: using KeeperState = Unique<lua_State*>
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 e2ce8b8..a25fb2b 100644 --- a/src/tools.cpp +++ b/src/tools.cpp | |||
@@ -751,7 +751,7 @@ static constexpr RegistryUniqueKey REG_MTID{ 0x2E68F9B4751584DCull }; | |||
751 | * Returns true if the table was cached (no need to fill it!); false if | 751 | * Returns true if the table was cached (no need to fill it!); false if |
752 | * it's a virgin. | 752 | * it's a virgin. |
753 | */ | 753 | */ |
754 | [[nodiscard]] static bool push_cached_table(Dest L2, CacheIndex L2_cache_i, Source L1, SourceIndex i) | 754 | [[nodiscard]] static bool push_cached_table(DestState L2, CacheIndex L2_cache_i, SourceState L1, SourceIndex i) |
755 | { | 755 | { |
756 | void const* p{ lua_topointer(L1, i) }; | 756 | void const* p{ lua_topointer(L1, i) }; |
757 | 757 | ||