From ccd8422bbe59143a4c62c9ce96c785f3ac75ce89 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 18 May 2018 19:03:08 +0800 Subject: =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=9F=B3=E4=B9=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/script/luaopen_types.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/script/luaopen_types.h') 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 -- cgit v1.1-26-g67d0