mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
AK: Resolve clang-tidy readability-bool-conversion warnings
... In files included by Kernel/Process.cpp and Kernel/Thread.cpp
This commit is contained in:
parent
10d0cac73c
commit
22feb9d47b
12 changed files with 26 additions and 25 deletions
|
@ -118,7 +118,7 @@ public:
|
|||
return data()[i];
|
||||
}
|
||||
|
||||
[[nodiscard]] bool is_empty() const { return !m_size; }
|
||||
[[nodiscard]] bool is_empty() const { return m_size == 0; }
|
||||
[[nodiscard]] size_t size() const { return m_size; }
|
||||
|
||||
[[nodiscard]] u8* data() { return m_inline ? m_inline_buffer : m_outline_buffer; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue