1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

CEventLoop: Consolidate gettimeofday() syscalls.

This commit is contained in:
Andreas Kling 2019-04-18 01:37:23 +02:00
parent ab539460de
commit 8e0611201e
2 changed files with 13 additions and 10 deletions

View file

@ -65,8 +65,8 @@ private:
bool should_reload { false };
WeakPtr<CObject> owner;
void reload();
bool has_expired() const;
void reload(const timeval& now);
bool has_expired(const timeval& now) const;
};
static HashMap<int, OwnPtr<EventLoopTimer>>* s_timers;