summaryrefslogtreecommitdiff
path: root/core/callable.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/callable.h')
-rw-r--r--core/callable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/callable.h b/core/callable.h
index 5fa1ebf1d1..1f6ff48d4f 100644
--- a/core/callable.h
+++ b/core/callable.h
@@ -75,7 +75,7 @@ public:
return method == StringName() && object == 0;
}
_FORCE_INLINE_ bool is_custom() const {
- return method == StringName() && custom != 0;
+ return method == StringName() && custom != nullptr;
}
_FORCE_INLINE_ bool is_standard() const {
return method != StringName();