Fix comparison of `Callable`s with binds

This commit is contained in:
A Thousand Ships 2023-08-29 16:10:14 +02:00
parent 922689c801
commit 2caf5ae453
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ ObjectID CallableCustomBind::get_object() const {
}
const Callable *CallableCustomBind::get_base_comparator() const {
return &callable;
return callable.get_base_comparator();
}
int CallableCustomBind::get_bound_arguments_count() const {
@ -222,7 +222,7 @@ ObjectID CallableCustomUnbind::get_object() const {
}
const Callable *CallableCustomUnbind::get_base_comparator() const {
return &callable;
return callable.get_base_comparator();
}
int CallableCustomUnbind::get_bound_arguments_count() const {