event/TimerEvent: use using instead of typedef

This commit is contained in:
Max Kellermann 2020-10-08 19:34:26 +02:00
parent 263b0ffdbb
commit ce93e58944

View File

@ -43,7 +43,7 @@ class TimerEvent final
EventLoop &loop; EventLoop &loop;
typedef BoundMethod<void() noexcept> Callback; using Callback = BoundMethod<void() noexcept>;
const Callback callback; const Callback callback;
/** /**