mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +01: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…
Add table
Reference in a new issue