diff options
author | Andrew Kaster <akaster@serenityos.org> | 2021-11-06 14:12:16 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-14 22:52:35 +0100 |
commit | 22feb9d47b9c6d6fcd73ed90243c3e30cea7842a (patch) | |
tree | 9891a404af45ac33d1bc70b9ccc3b2aae0986d3c /AK/Weakable.h | |
parent | 10d0cac73c84fc065c43326a813a16a970046ac9 (diff) | |
download | serenity-22feb9d47b9c6d6fcd73ed90243c3e30cea7842a.zip |
AK: Resolve clang-tidy readability-bool-conversion warnings
... In files included by Kernel/Process.cpp and Kernel/Thread.cpp
Diffstat (limited to 'AK/Weakable.h')
-rw-r--r-- | AK/Weakable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Weakable.h b/AK/Weakable.h index 5a98b24a62..f74b47f77e 100644 --- a/AK/Weakable.h +++ b/AK/Weakable.h @@ -66,7 +66,7 @@ public: bool is_null() const { - return !unsafe_ptr<void>(); + return unsafe_ptr<void>() == nullptr; } void revoke() |