event/DeferEvent: use using instead of typedef

This commit is contained in:
Max Kellermann 2020-12-01 16:25:54 +01:00
parent e86d4db55c
commit fd8e38f8cd

View File

@ -38,7 +38,7 @@ class DeferEvent final
EventLoop &loop;
typedef BoundMethod<void() noexcept> Callback;
using Callback = BoundMethod<void() noexcept>;
const Callback callback;
public: