diff options
author | chai <chaifix@163.com> | 2018-12-08 22:14:38 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-08 22:14:38 +0800 |
commit | 0b39a434e2191b8b184ad94e052f89b8a89e9a3c (patch) | |
tree | c993677fe86a9d42c1e4f7d987bd7c7c70819c41 /src/lua/common/je_lua_shared.cpp | |
parent | a16ce94158c9cf22a19c0e73dfe2e992a8302af1 (diff) |
*shared retain release
Diffstat (limited to 'src/lua/common/je_lua_shared.cpp')
-rw-r--r-- | src/lua/common/je_lua_shared.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
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 |