From 14f348f900c148ba4125dc29d1e48104f16d5495 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 30 Nov 2017 10:47:41 -0800 Subject: [PATCH] ircd::m: Add convenience aliases for event closure. --- include/ircd/m/event.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/ircd/m/event.h b/include/ircd/m/event.h index 805ceaca3..d62f514e4 100644 --- a/include/ircd/m/event.h +++ b/include/ircd/m/event.h @@ -115,7 +115,10 @@ struct ircd::m::event struct sync; struct prev; + // Common convenience aliases using id = m::id::event; + using closure = std::function; + using closure_bool = std::function; static database *events;