Skip to content

Commit

Permalink
Merge pull request #81131 from AThousandShips/callable_fix
Browse files Browse the repository at this point in the history
Fix comparison of `Callable`s with binds
  • Loading branch information
akien-mga committed Sep 1, 2023
2 parents a47729d + 2caf5ae commit bbdd1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/variant/callable_bind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit bbdd1aa

Please sign in to comment.