mirror of
https://github.com/matrix-construct/construct
synced 2024-07-18 00:18:41 +02:00
ircd:Ⓜ️ Typedef a user::closure.
This commit is contained in:
parent
e9df8b699c
commit
e305938b08
|
@ -25,6 +25,8 @@ struct ircd::m::user
|
||||||
{
|
{
|
||||||
struct room;
|
struct room;
|
||||||
using id = m::id::user;
|
using id = m::id::user;
|
||||||
|
using closure = std::function<void (const user &)>;
|
||||||
|
using closure_bool = std::function<bool (const user &)>;
|
||||||
|
|
||||||
id user_id;
|
id user_id;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue