mirror of
https://github.com/matrix-construct/construct
synced 2024-10-04 06:38:58 +02:00
ircd:Ⓜ️ Typedef a user::closure.
This commit is contained in:
parent
e9df8b699c
commit
e305938b08
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ struct ircd::m::user
|
|||
{
|
||||
struct room;
|
||||
using id = m::id::user;
|
||||
using closure = std::function<void (const user &)>;
|
||||
using closure_bool = std::function<bool (const user &)>;
|
||||
|
||||
id user_id;
|
||||
|
||||
|
|
Loading…
Reference in a new issue