aboutsummaryrefslogtreecommitdiff
path: root/src/state.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-02-05 12:27:02 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2025-02-05 12:27:02 +0100
commit05e4cce366cccf92ad88f80695efa548fae187de (patch)
tree3332753154ecd89a87d7fdd6a4f9383d1b66ed1f /src/state.cpp
parent59ae58fd31d63c261372bd5a36765328583bc1b6 (diff)
downloadlanes-05e4cce366cccf92ad88f80695efa548fae187de.tar.gz
lanes-05e4cce366cccf92ad88f80695efa548fae187de.tar.bz2
lanes-05e4cce366cccf92ad88f80695efa548fae187de.zip
Minor internal code tweaks
* mark all eligible classes Final * new TableIndex strong type * buildfixes for HAVE_DEBUGSPEW() * overridden virtual destructors tagged as such
Diffstat (limited to 'src/state.cpp')
-rw-r--r--src/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.cpp b/src/state.cpp
index 88f406a..6fabc5f 100644
--- a/src/state.cpp
+++ b/src/state.cpp
@@ -299,7 +299,7 @@ namespace state {
299 lua_pushvalue(_L, -5); // L: {} k v "[" 'k' "] = " tostring v 299 lua_pushvalue(_L, -5); // L: {} k v "[" 'k' "] = " tostring v
300 lua_call(_L, 1, 1); // L: {} k v "[" 'k' "] = " 'v' 300 lua_call(_L, 1, 1); // L: {} k v "[" 'k' "] = " 'v'
301 lua_concat(_L, 4); // L: {} k v "[k] = v" 301 lua_concat(_L, 4); // L: {} k v "[k] = v"
302 DEBUGSPEW_CODE(DebugSpew(U_) << luaG_tostring(_L, -1) << std::endl); 302 DEBUGSPEW_CODE(DebugSpew(U_) << luaG_tostring(_L, kIdxTop) << std::endl);
303 lua_pop(_L, 2); // L: {} k 303 lua_pop(_L, 2); // L: {} k
304 } // lua_next() // L: {} 304 } // lua_next() // L: {}
305 lua_pop(_L, 1); // L: 305 lua_pop(_L, 1); // L: