Merge pull request #57205 from TechnoPorg/variant-template-cast

Allow method binds to take Object subclasses as arguments
This commit is contained in:
Rémi Verschelde 2022-01-27 23:46:37 +01:00 committed by GitHub
commit e6caaf4c80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 64 additions and 78 deletions

View file

@ -53,8 +53,6 @@
#include "core/variant/dictionary.h"
class Object;
class Node; // helper
class Control; // helper
struct PropertyInfo;
struct MethodInfo;
@ -339,8 +337,6 @@ public:
operator ::RID() const;
operator Object *() const;
operator Node *() const;
operator Control *() const;
operator Callable() const;
operator Signal() const;