From 0b39a434e2191b8b184ad94e052f89b8a89e9a3c Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 8 Dec 2018 22:14:38 +0800 Subject: *shared retain release --- src/lua/common/je_lua_shared.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/lua/common/je_lua_shared.cpp') diff --git a/src/lua/common/je_lua_shared.cpp b/src/lua/common/je_lua_shared.cpp index 62dfab9..fce6d81 100644 --- a/src/lua/common/je_lua_shared.cpp +++ b/src/lua/common/je_lua_shared.cpp @@ -7,18 +7,5 @@ namespace JinEngine namespace Lua { - void Shared::retain() - { - ++mCount; - } - - void Shared::release() - { - if (--mCount <= 0) - { - delete this; - } - } - } } \ No newline at end of file -- cgit v1.1-26-g67d0