diff --git a/src/rpc/RPCEngine.h b/src/rpc/RPCEngine.h index 6fb19f7b..593bcf64 100644 --- a/src/rpc/RPCEngine.h +++ b/src/rpc/RPCEngine.h @@ -43,7 +43,6 @@ #include #include -class WsBase; class SubscriptionManager; class LoadBalancer; class ETLService; diff --git a/src/webserver/PlainWsSession.h b/src/webserver/PlainWsSession.h index 13a323a3..1ba5bcea 100644 --- a/src/webserver/PlainWsSession.h +++ b/src/webserver/PlainWsSession.h @@ -28,7 +28,7 @@ namespace Server { * class */ template -class PlainWsSession : public WsSession +class PlainWsSession : public WsBase { boost::beast::websocket::stream ws_; @@ -40,8 +40,7 @@ public: std::reference_wrapper dosGuard, std::shared_ptr const& callback, boost::beast::flat_buffer&& buffer) - : WsSession(ip, tagFactory, dosGuard, callback, std::move(buffer)) - , ws_(std::move(socket)) + : WsBase(ip, tagFactory, dosGuard, callback, std::move(buffer)), ws_(std::move(socket)) { } diff --git a/src/webserver/SslWsSession.h b/src/webserver/SslWsSession.h index 174a4017..9290afe5 100644 --- a/src/webserver/SslWsSession.h +++ b/src/webserver/SslWsSession.h @@ -28,7 +28,7 @@ namespace Server { * class. */ template -class SslWsSession : public WsSession +class SslWsSession : public WsBase { boost::beast::websocket::stream> ws_; @@ -40,7 +40,7 @@ public: std::reference_wrapper dosGuard, std::shared_ptr const& handler, boost::beast::flat_buffer&& b) - : WsSession(ip, tagFactory, dosGuard, handler, std::move(b)), ws_(std::move(stream)) + : WsBase(ip, tagFactory, dosGuard, handler, std::move(b)), ws_(std::move(stream)) { } diff --git a/src/webserver/details/WsBase.h b/src/webserver/details/WsBase.h index 71382054..b8592046 100644 --- a/src/webserver/details/WsBase.h +++ b/src/webserver/details/WsBase.h @@ -43,9 +43,9 @@ namespace Server { * @tparam Handler The handler type, will be called when a request is received. */ template