Merge pull request #799 from Kev/qualify-classdb-friend

Allow GDCLASS in own namespaces
This commit is contained in:
Rémi Verschelde
2022-07-31 15:14:22 +02:00
committed by GitHub

View File

@@ -67,7 +67,7 @@ public:
#define GDCLASS(m_class, m_inherits) \ #define GDCLASS(m_class, m_inherits) \
private: \ private: \
void operator=(const m_class &p_rval) {} \ void operator=(const m_class &p_rval) {} \
friend class ClassDB; \ friend class ::godot::ClassDB; \
\ \
protected: \ protected: \
virtual const char *_get_extension_class() const override { \ virtual const char *_get_extension_class() const override { \