0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-05 01:58:35 +02:00

ircd:Ⓜ️ Typedef a user::closure.

This commit is contained in:
Jason Volk 2018-04-11 15:04:04 -07:00
parent e9df8b699c
commit e305938b08

View file

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