event/TimerEvent: use using
instead of typedef
This commit is contained in:
parent
263b0ffdbb
commit
ce93e58944
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user