diff --git a/include/ircd/server/peer.h b/include/ircd/server/peer.h index 07798fa4f..f091536ea 100644 --- a/include/ircd/server/peer.h +++ b/include/ircd/server/peer.h @@ -120,8 +120,6 @@ struct ircd::server::peer::err std::exception_ptr eptr; system_point etime; - err(std::exception_ptr eptr) - :eptr{std::move(eptr)} - ,etime{now()} - {} + err(std::exception_ptr); + ~err() noexcept; }; diff --git a/ircd/server.cc b/ircd/server.cc index 834ef7bbb..48509a14d 100644 --- a/ircd/server.cc +++ b/ircd/server.cc @@ -1167,6 +1167,21 @@ const }); } +// +// peer::err +// + +ircd::server::peer::err::err(std::exception_ptr eptr) +:eptr{std::move(eptr)} +,etime{now()} +{ +} + +ircd::server::peer::err::~err() +noexcept +{ +} + // // link //