From 641a5546ae68cfb09112a39c34946a31a14334c4 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 13 Mar 2019 12:04:21 -0700 Subject: [PATCH] ircd::net: Fix acceptor's inheritance of net::listener::error. --- include/ircd/net/acceptor.h | 2 ++ include/ircd/net/acceptor_udp.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/ircd/net/acceptor.h b/include/ircd/net/acceptor.h index 557306269..8eb04ffac 100644 --- a/include/ircd/net/acceptor.h +++ b/include/ircd/net/acceptor.h @@ -23,6 +23,8 @@ struct ircd::net::acceptor using callback = listener::callback; using proffer = listener::proffer; + IRCD_EXCEPTION(listener::error, error) + static log::log log; static conf::item timeout; static conf::item ssl_cipher_list; diff --git a/include/ircd/net/acceptor_udp.h b/include/ircd/net/acceptor_udp.h index 6d8a2b638..18dca9227 100644 --- a/include/ircd/net/acceptor_udp.h +++ b/include/ircd/net/acceptor_udp.h @@ -22,6 +22,8 @@ struct ircd::net::acceptor_udp using datagram = listener_udp::datagram; using flag = listener_udp::flag; + IRCD_EXCEPTION(listener_udp::error, error) + static constexpr log::log &log {acceptor::log}; static ip::udp::socket::message_flags flags(const flag &);