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
commit 861f40f014
Notes: sideshowbarker 2024-07-19 10:21:21 +09:00
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;