diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-02-05 16:24:35 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-02-05 16:24:35 +0100 |
commit | 887fc613dd943d1221d5a2a3b96cee37c0d81248 (patch) | |
tree | 7151029f79e115d8822291644e11244def30079d /src/intercopycontext.cpp | |
parent | 05e4cce366cccf92ad88f80695efa548fae187de (diff) | |
download | lanes-887fc613dd943d1221d5a2a3b96cee37c0d81248.tar.gz lanes-887fc613dd943d1221d5a2a3b96cee37c0d81248.tar.bz2 lanes-887fc613dd943d1221d5a2a3b96cee37c0d81248.zip |
All enums are [[nodiscard]]
Diffstat (limited to 'src/intercopycontext.cpp')
-rw-r--r-- | src/intercopycontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index 6b3d282..da4340e 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp | |||
@@ -156,7 +156,7 @@ static constexpr RegistryUniqueKey kMtIdRegKey{ 0xA8895DCF4EC3FE3Cull }; | |||
156 | 156 | ||
157 | // get a unique ID for metatable at [i]. | 157 | // get a unique ID for metatable at [i]. |
158 | [[nodiscard]] | 158 | [[nodiscard]] |
159 | static lua_Integer get_mt_id(Universe* U_, lua_State* L_, StackIndex const idx_) | 159 | static lua_Integer get_mt_id(Universe* const U_, lua_State* const L_, StackIndex const idx_) |
160 | { | 160 | { |
161 | StackIndex const _absidx{ luaG_absindex(L_, idx_) }; | 161 | StackIndex const _absidx{ luaG_absindex(L_, idx_) }; |
162 | 162 | ||