aboutsummaryrefslogtreecommitdiff
path: root/deep_test/deep_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deep_test/deep_test.cpp')
-rw-r--r--deep_test/deep_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/deep_test/deep_test.cpp b/deep_test/deep_test.cpp
index 39352f3..a6c6296 100644
--- a/deep_test/deep_test.cpp
+++ b/deep_test/deep_test.cpp
@@ -129,9 +129,9 @@ static luaL_Reg const deep_mt[] = {
129 129
130int luaD_new_deep(lua_State* L) 130int luaD_new_deep(lua_State* L)
131{ 131{
132 int const nuv{ static_cast<int>(luaL_optinteger(L, 1, 0)) }; 132 UserValueCount const _nuv{ static_cast<int>(luaL_optinteger(L, 1, 0)) };
133 lua_settop(L, 0); 133 lua_settop(L, 0);
134 MyDeepFactory::Instance.pushDeepUserdata(DestState{ L }, nuv); 134 MyDeepFactory::Instance.pushDeepUserdata(DestState{ L }, _nuv);
135 return 1; 135 return 1;
136} 136}
137 137