From 792128255b6c6add22f97ea60734181cb915f2ae Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 14 Jun 2024 12:25:23 +0200 Subject: More fixes to make clang happy --- src/intercopycontext.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/intercopycontext.cpp') diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index 190e15e..1ccef80 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp @@ -183,7 +183,7 @@ void InterCopyContext::copyFunction() const STACK_GROW(L1, 2); STACK_CHECK_START_REL(L1, 0); - // 'lua_dump()' needs the function at top of stack + // 'luaG_dump()' needs the function at top of stack // if already on top of the stack, no need to push again bool const _needToPush{ L1_i != lua_gettop(L1) }; if (_needToPush) { @@ -1136,7 +1136,6 @@ namespace { */ [[nodiscard]] InterCopyResult InterCopyContext::interCopyOne() const { - static constexpr int kPODmask = (1 << LUA_TNIL) | (1 << LUA_TBOOLEAN) | (1 << LUA_TLIGHTUSERDATA) | (1 << LUA_TNUMBER) | (1 << LUA_TSTRING); STACK_GROW(L2, 1); STACK_CHECK_START_REL(L1, 0); STACK_CHECK_START_REL(L2, 0); -- cgit v1.2.3-55-g6feb