event/DeferEvent: use using
instead of typedef
This commit is contained in:
parent
e86d4db55c
commit
fd8e38f8cd
@ -38,7 +38,7 @@ class DeferEvent final
|
|||||||
|
|
||||||
EventLoop &loop;
|
EventLoop &loop;
|
||||||
|
|
||||||
typedef BoundMethod<void() noexcept> Callback;
|
using Callback = BoundMethod<void() noexcept>;
|
||||||
const Callback callback;
|
const Callback callback;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user