mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
Kernel: Resolve clang-tidy readability-qualified-auto warning
... In files included by Kernel/Process.cpp or Kernel/Thread.cpp
This commit is contained in:
parent
65edc62c02
commit
e824bead54
4 changed files with 12 additions and 12 deletions
|
@ -148,7 +148,7 @@ public:
|
|||
|
||||
inline static Process& current()
|
||||
{
|
||||
auto current_thread = Processor::current_thread();
|
||||
auto* current_thread = Processor::current_thread();
|
||||
VERIFY(current_thread);
|
||||
return current_thread->process();
|
||||
}
|
||||
|
@ -489,7 +489,7 @@ public:
|
|||
template<typename Callback>
|
||||
void for_each_coredump_property(Callback callback) const
|
||||
{
|
||||
for (auto& property : m_coredump_properties) {
|
||||
for (auto const& property : m_coredump_properties) {
|
||||
if (property.key && property.value)
|
||||
callback(*property.key, *property.value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue