From ce8e259441410aba3f2345333003032ed9c45d65 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 10 Dec 2018 11:46:29 +0800 Subject: =?UTF-8?q?*=E5=88=A0=E9=99=A4shared=E7=9A=84lua=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lua/modules/time/je_lua_time.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua/modules/time/je_lua_time.cpp') diff --git a/src/lua/modules/time/je_lua_time.cpp b/src/lua/modules/time/je_lua_time.cpp index 1d8b852..cd49978 100644 --- a/src/lua/modules/time/je_lua_time.cpp +++ b/src/lua/modules/time/je_lua_time.cpp @@ -33,7 +33,7 @@ namespace JinEngine LUA_IMPLEMENT int l_newTimer(lua_State* L) { - Shared* shrTimer = new Shared(new Timer(), Jin_Lua_Timer); + Shared* shrTimer = new Shared(new Timer()); luax_newinstance(L, Jin_Lua_Timer, shrTimer); return 1; } -- cgit v1.1-26-g67d0