mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd:Ⓜ️:users: Rename for consistency.
This commit is contained in:
parent
ea4d74967b
commit
c7f9521a3f
2 changed files with 6 additions and 6 deletions
|
@ -13,14 +13,14 @@
|
|||
|
||||
namespace ircd::m::users
|
||||
{
|
||||
struct opts extern const default_opts;
|
||||
struct opts extern const opts_default;
|
||||
|
||||
// Iterate the users
|
||||
bool for_each(const opts &, const user::closure_bool &);
|
||||
bool for_each(const user::closure_bool &);
|
||||
|
||||
size_t count(const opts & = default_opts);
|
||||
bool exists(const opts & = default_opts);
|
||||
size_t count(const opts & = opts_default);
|
||||
bool exists(const opts & = opts_default);
|
||||
}
|
||||
|
||||
/// Shape the query by matching users based on the options filled in.
|
||||
|
|
|
@ -20,8 +20,8 @@ IRCD_MODULE
|
|||
"Matrix users interface"
|
||||
};
|
||||
|
||||
decltype(ircd::m::users::default_opts)
|
||||
ircd::m::users::default_opts;
|
||||
decltype(ircd::m::users::opts_default)
|
||||
ircd::m::users::opts_default;
|
||||
|
||||
bool
|
||||
IRCD_MODULE_EXPORT
|
||||
|
@ -53,7 +53,7 @@ bool
|
|||
IRCD_MODULE_EXPORT
|
||||
ircd::m::users::for_each(const user::closure_bool &closure)
|
||||
{
|
||||
return for_each(default_opts, closure);
|
||||
return for_each(opts_default, closure);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in a new issue