mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 19:58:53 +02:00
ircd:Ⓜ️ Add convenience aliases for event closure.
This commit is contained in:
parent
1cbd0ab8ba
commit
14f348f900
1 changed files with 3 additions and 0 deletions
|
@ -115,7 +115,10 @@ struct ircd::m::event
|
|||
struct sync;
|
||||
struct prev;
|
||||
|
||||
// Common convenience aliases
|
||||
using id = m::id::event;
|
||||
using closure = std::function<void (const event &)>;
|
||||
using closure_bool = std::function<bool (const event &)>;
|
||||
|
||||
static database *events;
|
||||
|
||||
|
|
Loading…
Reference in a new issue