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/debug/luaopen_debug.cpp | 1 - src/script/luaopen_types.h | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src/script') diff --git a/src/script/debug/luaopen_debug.cpp b/src/script/debug/luaopen_debug.cpp index 658899f..b33c058 100644 --- a/src/script/debug/luaopen_debug.cpp +++ b/src/script/debug/luaopen_debug.cpp @@ -4,6 +4,5 @@ namespace debug { - } } \ No newline at end of file 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