mirror of
https://github.com/godotengine/godot.git
synced 2025-04-07 00:44:24 +08:00
Removed unused get_valid_parents_static
functions from GDCLASS
.
This commit is contained in:
parent
c7ea8614d7
commit
be82731f99
@ -258,12 +258,6 @@ void Object::_postinitialize() {
|
||||
notification(NOTIFICATION_POSTINITIALIZE);
|
||||
}
|
||||
|
||||
void Object::get_valid_parents_static(List<String> *p_parents) {
|
||||
}
|
||||
|
||||
void Object::_get_valid_parents_static(List<String> *p_parents) {
|
||||
}
|
||||
|
||||
void Object::set(const StringName &p_name, const Variant &p_value, bool *r_valid) {
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
|
@ -441,13 +441,6 @@ public:
|
||||
return true; \
|
||||
} \
|
||||
return (p_class == (#m_class)) ? true : m_inherits::is_class(p_class); \
|
||||
} \
|
||||
static void get_valid_parents_static(List<String> *p_parents) { \
|
||||
if (m_class::_get_valid_parents_static != m_inherits::_get_valid_parents_static) { \
|
||||
m_class::_get_valid_parents_static(p_parents); \
|
||||
} \
|
||||
\
|
||||
m_inherits::get_valid_parents_static(p_parents); \
|
||||
} \
|
||||
\
|
||||
protected: \
|
||||
@ -749,8 +742,6 @@ protected:
|
||||
_FORCE_INLINE_ void (Object::*_get_notification() const)(int) {
|
||||
return &Object::_notification;
|
||||
}
|
||||
static void get_valid_parents_static(List<String> *p_parents);
|
||||
static void _get_valid_parents_static(List<String> *p_parents);
|
||||
|
||||
Variant _call_bind(const Variant **p_args, int p_argcount, Callable::CallError &r_error);
|
||||
Variant _call_deferred_bind(const Variant **p_args, int p_argcount, Callable::CallError &r_error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user