1
0
Fork 0

Fix comparison of callables

This commit is contained in:
Stanislav Labzyuk 2024-11-11 17:15:52 +01:00
parent 0f5f3bc954
commit 824ddeea3f
1 changed files with 2 additions and 2 deletions

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;
}