From 506531790b441f92fbad890a27eec751ecb3055e Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 5 Mar 2019 21:14:57 -0800 Subject: [PATCH] ircd::m::v1: Remove any opts constructors preventing aggregate initialization. --- include/ircd/m/v1/query.h | 6 ------ include/ircd/m/v1/user.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/include/ircd/m/v1/query.h b/include/ircd/m/v1/query.h index 3804db6c4..a5cadff3c 100644 --- a/include/ircd/m/v1/query.h +++ b/include/ircd/m/v1/query.h @@ -43,12 +43,6 @@ 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 diff --git a/include/ircd/m/v1/user.h b/include/ircd/m/v1/user.h index fb184f7d2..520ab7669 100644 --- a/include/ircd/m/v1/user.h +++ b/include/ircd/m/v1/user.h @@ -40,10 +40,4 @@ 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; };