1
Fork 0
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:
Andrew Kaster 2021-10-31 16:36:52 -06:00 committed by Andreas Kling
parent 65edc62c02
commit e824bead54
4 changed files with 12 additions and 12 deletions

View file

@ -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);
}