aboutsummaryrefslogtreecommitdiff
path: root/src/script/luaopen_types.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-18 19:03:08 +0800
committerchai <chaifix@163.com>2018-05-18 19:03:08 +0800
commitccd8422bbe59143a4c62c9ce96c785f3ac75ce89 (patch)
tree95a4156704fd1c52f84a579cf1a68dc170fa6ded /src/script/luaopen_types.h
parent9458eb868631b29e00182c37f1c7e46981b68edd (diff)
添加音乐
Diffstat (limited to 'src/script/luaopen_types.h')
-rw-r--r--src/script/luaopen_types.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/script/luaopen_types.h b/src/script/luaopen_types.h
index c6ce202..bb6f5b1 100644
--- a/src/script/luaopen_types.h
+++ b/src/script/luaopen_types.h
@@ -15,15 +15,10 @@ class Proxy
public:
inline void bind(void* obj)
{
- if (obj != 0 && obj != nullptr)
- object = obj;
+ object = obj;
}
void* object;
-
- ~Proxy()
- {
- }
};
#endif