Fix comparison of `Callable`s with binds
(cherry picked from commit 2caf5ae453
)
This commit is contained in:
parent
8d6493fae4
commit
a9566c17fc
|
@ -88,7 +88,7 @@ ObjectID CallableCustomBind::get_object() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
const Callable *CallableCustomBind::get_base_comparator() const {
|
const Callable *CallableCustomBind::get_base_comparator() const {
|
||||||
return &callable;
|
return callable.get_base_comparator();
|
||||||
}
|
}
|
||||||
|
|
||||||
int CallableCustomBind::get_bound_arguments_count() const {
|
int CallableCustomBind::get_bound_arguments_count() const {
|
||||||
|
@ -222,7 +222,7 @@ ObjectID CallableCustomUnbind::get_object() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
const Callable *CallableCustomUnbind::get_base_comparator() const {
|
const Callable *CallableCustomUnbind::get_base_comparator() const {
|
||||||
return &callable;
|
return callable.get_base_comparator();
|
||||||
}
|
}
|
||||||
|
|
||||||
int CallableCustomUnbind::get_bound_arguments_count() const {
|
int CallableCustomUnbind::get_bound_arguments_count() const {
|
||||||
|
|
Loading…
Reference in New Issue