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

Allow GDCLASS in own namespaces
pull/801/head
Rémi Verschelde 2022-07-31 15:14:22 +02:00 committed by GitHub
commit 9e210c1a02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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 { \