0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 13:18:58 +02:00

Revert "ircd:Ⓜ️:v1: Remove any opts constructors preventing aggregate initialization."

This reverts commit 506531790b.
This commit is contained in:
Jason Volk 2019-03-06 17:26:25 -08:00
parent 6af4782922
commit 3b34785853
2 changed files with 12 additions and 0 deletions

View file

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

View file

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