mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Merge pull request #104921 from Ivorforce/no-get-valid-parents
Remove unused `get_valid_parents_static` functions from `GDCLASS`.
This commit is contained in:
commit
d0b3e0b474
2 changed files with 0 additions and 15 deletions
|
|
@ -258,12 +258,6 @@ void Object::_postinitialize() {
|
||||||
notification(NOTIFICATION_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) {
|
void Object::set(const StringName &p_name, const Variant &p_value, bool *r_valid) {
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -441,13 +441,6 @@ public:
|
||||||
return true; \
|
return true; \
|
||||||
} \
|
} \
|
||||||
return (p_class == (#m_class)) ? true : m_inherits::is_class(p_class); \
|
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: \
|
protected: \
|
||||||
|
|
@ -749,8 +742,6 @@ protected:
|
||||||
_FORCE_INLINE_ void (Object::*_get_notification() const)(int) {
|
_FORCE_INLINE_ void (Object::*_get_notification() const)(int) {
|
||||||
return &Object::_notification;
|
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_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);
|
Variant _call_deferred_bind(const Variant **p_args, int p_argcount, Callable::CallError &r_error);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue