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

AK+LibCore: Add an IDAllocator and use to allocate timer ids

This commit is contained in:
Shannon Booth 2020-01-05 12:28:42 +13:00 committed by Andreas Kling
parent d5fea1b235
commit 861f40f014
3 changed files with 43 additions and 9 deletions

View file

@ -85,7 +85,6 @@ private:
};
static HashMap<int, NonnullOwnPtr<EventLoopTimer>>* s_timers;
static int s_next_timer_id;
static HashTable<CNotifier*>* s_notifiers;