From fd8e38f8cdfdf0162aa993c2d20dad836447188d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 1 Dec 2020 16:25:54 +0100 Subject: [PATCH] event/DeferEvent: use `using` instead of `typedef` --- src/event/DeferEvent.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/DeferEvent.hxx b/src/event/DeferEvent.hxx index b96c2fbac..d1e3326d0 100644 --- a/src/event/DeferEvent.hxx +++ b/src/event/DeferEvent.hxx @@ -38,7 +38,7 @@ class DeferEvent final EventLoop &loop; - typedef BoundMethod Callback; + using Callback = BoundMethod; const Callback callback; public: