mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:07:36 +00:00
Kernel: Resolve clang-tidy readability-make-member-function-const
... In files included from Kernel/Thread.cpp or Kernel/Process.cpp Some places the warning is suppressed, because we do not want a const object do have non-const access to the returned sub-object.
This commit is contained in:
parent
a92132e44a
commit
65edc62c02
11 changed files with 18 additions and 14 deletions
|
@ -34,7 +34,7 @@ class SysFSDeviceComponent final
|
|||
public:
|
||||
static NonnullRefPtr<SysFSDeviceComponent> must_create(Device const&);
|
||||
|
||||
bool is_block_device() { return m_block_device; }
|
||||
bool is_block_device() const { return m_block_device; }
|
||||
|
||||
private:
|
||||
explicit SysFSDeviceComponent(Device const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue