aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/time/je_lua_time.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules/time/je_lua_time.cpp')
-rw-r--r--src/lua/modules/time/je_lua_time.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/modules/time/je_lua_time.cpp b/src/lua/modules/time/je_lua_time.cpp
index 3da5669..1d8b852 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<Timer>* shrTimer = new Shared<Timer>(new Timer(), Jin_Lua_Timer);
+ Shared* shrTimer = new Shared(new Timer(), Jin_Lua_Timer);
luax_newinstance(L, Jin_Lua_Timer, shrTimer);
return 1;
}