mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +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
|
@ -135,7 +135,7 @@ public:
|
|||
auto expected_wakeup = last_wakeup + ideal_interval;
|
||||
auto delay = (now > expected_wakeup) ? now - expected_wakeup : Time::from_microseconds(0);
|
||||
last_wakeup = now;
|
||||
auto current_thread = Thread::current();
|
||||
auto* current_thread = Thread::current();
|
||||
// FIXME: We currently don't collect samples while idle.
|
||||
// That will be an interesting mode to add in the future. :^)
|
||||
if (!current_thread || current_thread == Processor::idle_thread())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue