0
0
Fork 0
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:
Jason Volk 2017-11-30 10:47:41 -08:00
parent 1cbd0ab8ba
commit 14f348f900

View file

@ -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;