summaryrefslogtreecommitdiffstats
path: root/core/callable.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-14 10:15:48 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-05-14 13:45:01 +0200
commit1a8167867b136ae62463b26a871628526bff17b8 (patch)
treebe6ca573229dc092d567079c5b464f72144d895d /core/callable.h
parent5f5f53e8eba5c9b708714de58d3cca6ceb010279 (diff)
downloadredot-engine-1a8167867b136ae62463b26a871628526bff17b8.tar.gz
Modernize remaining uses of 0/NULL instead of nullptr (C++11)
Using clang-tidy's `modernize-use-nullptr`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
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();