From 4cd0f661d6f4838ece769f72edaa7e9eb3518aec Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 8 Oct 2020 16:58:34 +0200 Subject: [PATCH] event/Loop: use `using` instead of `typedef` --- src/event/Loop.hxx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx index 53af91ff5..110499d94 100644 --- a/src/event/Loop.hxx +++ b/src/event/Loop.hxx @@ -64,28 +64,31 @@ class EventLoop final : SocketMonitor } }; - typedef boost::intrusive::multiset, boost::intrusive::compare, - boost::intrusive::constant_time_size> TimerSet; + boost::intrusive::constant_time_size>; TimerSet timers; - typedef boost::intrusive::list, - boost::intrusive::constant_time_size> IdleList; + boost::intrusive::constant_time_size>; IdleList idle; Mutex mutex; - typedef boost::intrusive::list, - boost::intrusive::constant_time_size> DeferredList; + boost::intrusive::constant_time_size>; DeferredList deferred; #ifdef HAVE_URING