diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-01-22 14:51:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 14:51:05 +0100 |
commit | d39f6386ce3a7916dbb94fef5ff65e7599e060f0 (patch) | |
tree | 3bfc4261f2d9bbfcc7425d29a829a3c5d6d73fc7 /core/object/class_db.h | |
parent | 2a3e771f4cb2b01d6cbd4bf09e1fbd27e3b019c0 (diff) | |
parent | 8ed259b792f3a94939422384c829a6c6973afec8 (diff) | |
download | redot-engine-d39f6386ce3a7916dbb94fef5ff65e7599e060f0.tar.gz |
Merge pull request #45314 from RandomShaper/modernize_rwlock
Modernize RWLock
Diffstat (limited to 'core/object/class_db.h')
-rw-r--r-- | core/object/class_db.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/object/class_db.h b/core/object/class_db.h index 0591676b92..6fd5748dbb 100644 --- a/core/object/class_db.h +++ b/core/object/class_db.h @@ -146,7 +146,7 @@ public: return memnew(T); } - static RWLock *lock; + static RWLock lock; static HashMap<StringName, ClassInfo> classes; static HashMap<StringName, StringName> resource_base_extensions; static HashMap<StringName, StringName> compat_classes; @@ -387,7 +387,6 @@ public: static void get_extensions_for_type(const StringName &p_class, List<String> *p_extensions); static void add_compatibility_class(const StringName &p_class, const StringName &p_fallback); - static void init(); static void set_current_api(APIType p_api); static APIType get_current_api(); |