diff options
| author | Juan Linietsky | 2018-05-07 17:30:03 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2018-05-07 17:30:03 -0300 |
| commit | ff1e7cfbf4b7ad9b327588ce7dffb43d31fee3e9 (patch) | |
| tree | d28b0690a6e921a044f2fa82e2091a5b411ea439 /core/object.h | |
| parent | 80b9edf0f69107d88aecd4df3783f20eb1b17dd5 (diff) | |
| download | godot-ff1e7cfbf4b7ad9b327588ce7dffb43d31fee3e9.tar.gz godot-ff1e7cfbf4b7ad9b327588ce7dffb43d31fee3e9.tar.zst godot-ff1e7cfbf4b7ad9b327588ce7dffb43d31fee3e9.zip | |
Diffstat (limited to 'core/object.h')
| -rw-r--r-- | core/object.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/object.h b/core/object.h index 8306b5a35..c405e2255 100644 --- a/core/object.h +++ b/core/object.h @@ -762,15 +762,10 @@ public: static void debug_objects(DebugFunc p_func); static int get_object_count(); -#ifdef DEBUG_ENABLED _FORCE_INLINE_ static bool instance_validate(Object *p_ptr) { return instance_checks.has(p_ptr); } -#else - _FORCE_INLINE_ static bool instance_validate(Object *p_ptr) { return true; } - -#endif }; //needed by macros |
