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.cpp | |
| parent | 80b9edf0f69107d88aecd4df3783f20eb1b17dd5 (diff) | |
| download | godot-ff1e7cfbf4b7ad9b327588ce7dffb43d31fee3e9.tar.gz godot-ff1e7cfbf4b7ad9b327588ce7dffb43d31fee3e9.tar.zst godot-ff1e7cfbf4b7ad9b327588ce7dffb43d31fee3e9.zip | |
Diffstat (limited to 'core/object.cpp')
| -rw-r--r-- | core/object.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/object.cpp b/core/object.cpp index aaa37e6cf..239700a4a 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -1919,9 +1919,7 @@ ObjectID ObjectDB::add_instance(Object *p_object) { rw_lock->write_lock(); instances[++instance_counter] = p_object; -#ifdef DEBUG_ENABLED instance_checks[p_object] = instance_counter; -#endif rw_lock->write_unlock(); return instance_counter; @@ -1932,9 +1930,7 @@ void ObjectDB::remove_instance(Object *p_object) { rw_lock->write_lock(); instances.erase(p_object->get_instance_id()); -#ifdef DEBUG_ENABLED instance_checks.erase(p_object); -#endif rw_lock->write_unlock(); } |
