From ce93e589444ac2c74fd0b8a4e5bf88c951863a06 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 8 Oct 2020 19:34:26 +0200 Subject: [PATCH] event/TimerEvent: use `using` instead of `typedef` --- src/event/TimerEvent.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/TimerEvent.hxx b/src/event/TimerEvent.hxx index 4081c370b..ff02bd729 100644 --- a/src/event/TimerEvent.hxx +++ b/src/event/TimerEvent.hxx @@ -43,7 +43,7 @@ class TimerEvent final EventLoop &loop; - typedef BoundMethod Callback; + using Callback = BoundMethod; const Callback callback; /**