mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
Revert "ircd:Ⓜ️:v1: Remove any opts constructors preventing aggregate initialization."
This reverts commit 506531790b
.
This commit is contained in:
parent
6af4782922
commit
3b34785853
2 changed files with 12 additions and 0 deletions
|
@ -43,6 +43,12 @@ struct ircd::m::v1::query::opts
|
|||
server::in in;
|
||||
const struct server::request::opts *sopts {nullptr};
|
||||
bool dynamic {false};
|
||||
|
||||
opts(const net::hostport &remote)
|
||||
:remote{remote}
|
||||
{}
|
||||
|
||||
opts() = default;
|
||||
};
|
||||
|
||||
struct ircd::m::v1::query::profile
|
||||
|
|
|
@ -40,4 +40,10 @@ struct ircd::m::v1::user::opts
|
|||
server::in in;
|
||||
const struct server::request::opts *sopts {nullptr};
|
||||
bool dynamic {false};
|
||||
|
||||
opts(const net::hostport &remote)
|
||||
:remote{remote}
|
||||
{}
|
||||
|
||||
opts() = default;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue