summaryrefslogtreecommitdiffstats
path: root/core/variant/callable_bind.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2023-08-29 16:10:14 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2023-08-29 16:10:14 +0200
commit2caf5ae453863bb992bb18abb3cfb725c556f82c (patch)
treeab017c534ceb318e7e0787d13f3236f9842bb718 /core/variant/callable_bind.cpp
parent922689c801047c63902b190f402cd6207c83e7da (diff)
downloadredot-engine-2caf5ae453863bb992bb18abb3cfb725c556f82c.tar.gz
Fix comparison of `Callable`s with binds
Diffstat (limited to 'core/variant/callable_bind.cpp')
-rw-r--r--core/variant/callable_bind.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/variant/callable_bind.cpp b/core/variant/callable_bind.cpp
index e493e50467..a5629d5d39 100644
--- a/core/variant/callable_bind.cpp
+++ b/core/variant/callable_bind.cpp
@@ -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 {