diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-17 11:53:15 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-17 11:53:15 +0100 |
commit | 48c99e29ae38db79522fb2833f3144ae58c7a906 (patch) | |
tree | 4fbf42918fa22fad025e75733dbe3caf76325f9b /src/universe.cpp | |
parent | efd5318b2d9132996bf35a6af2e82706665890ff (diff) | |
download | lanes-48c99e29ae38db79522fb2833f3144ae58c7a906.tar.gz lanes-48c99e29ae38db79522fb2833f3144ae58c7a906.tar.bz2 lanes-48c99e29ae38db79522fb2833f3144ae58c7a906.zip |
Some constitude tweaks
Diffstat (limited to 'src/universe.cpp')
-rw-r--r-- | src/universe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp index b7d11d8..bc309a2 100644 --- a/src/universe.cpp +++ b/src/universe.cpp | |||
@@ -186,7 +186,7 @@ Universe* Universe::Create(lua_State* const L_) | |||
186 | 186 | ||
187 | // same as PUC-Lua l_alloc | 187 | // same as PUC-Lua l_alloc |
188 | [[nodiscard]] | 188 | [[nodiscard]] |
189 | static void* libc_lua_Alloc([[maybe_unused]] void* ud_, [[maybe_unused]] void* ptr_, [[maybe_unused]] size_t osize_, size_t nsize_) | 189 | static void* libc_lua_Alloc([[maybe_unused]] void* const ud_, [[maybe_unused]] void* const ptr_, [[maybe_unused]] size_t const osize_, size_t const nsize_) |
190 | { | 190 | { |
191 | if (nsize_ == 0) { | 191 | if (nsize_ == 0) { |
192 | free(ptr_); | 192 | free(ptr_); |