Merge pull request #99078 from DarkMessiah/fix_callables_compare

Fix comparison of callables
This commit is contained in:
Thaddeus Crews 2024-11-11 14:17:56 -06:00
commit bb3d5ef47c
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84

View file

@ -43,7 +43,7 @@ bool CallableCustomBind::_equal_func(const CallableCustom *p_a, const CallableCu
const CallableCustomBind *a = static_cast<const CallableCustomBind *>(p_a);
const CallableCustomBind *b = static_cast<const CallableCustomBind *>(p_b);
if (!(a->callable != b->callable)) {
if (a->callable != b->callable) {
return false;
}
@ -185,7 +185,7 @@ bool CallableCustomUnbind::_equal_func(const CallableCustom *p_a, const Callable
const CallableCustomUnbind *a = static_cast<const CallableCustomUnbind *>(p_a);
const CallableCustomUnbind *b = static_cast<const CallableCustomUnbind *>(p_b);
if (!(a->callable != b->callable)) {
if (a->callable != b->callable) {
return false;
}