1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:27:44 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -47,15 +47,15 @@ private:
Atomic<bool> m_callback_finished { false };
Atomic<bool> m_in_use { false };
bool operator<(const Timer& rhs) const
bool operator<(Timer const& rhs) const
{
return m_expires < rhs.m_expires;
}
bool operator>(const Timer& rhs) const
bool operator>(Timer const& rhs) const
{
return m_expires > rhs.m_expires;
}
bool operator==(const Timer& rhs) const
bool operator==(Timer const& rhs) const
{
return m_id == rhs.m_id;
}
@ -88,7 +88,7 @@ public:
static TimerQueue& the();
TimerId add_timer(NonnullRefPtr<Timer>&&);
bool add_timer_without_id(NonnullRefPtr<Timer>, clockid_t, const Time&, Function<void()>&&);
bool add_timer_without_id(NonnullRefPtr<Timer>, clockid_t, Time const&, Function<void()>&&);
bool cancel_timer(Timer& timer, bool* was_in_use = nullptr);
void fire();