Fix struct/class mismatch
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
namespace uWS {
|
||||
template<bool> struct HttpResponse;
|
||||
struct HttpRequest;
|
||||
class HttpRequest;
|
||||
|
||||
template <bool SSL>
|
||||
struct HttpContextData {
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace uWS {
|
||||
template <bool SSL, bool isServer>
|
||||
struct WebSocketContext : StaticDispatch<SSL> {
|
||||
template <bool> friend struct TemplatedApp;
|
||||
template <bool, class> friend struct WebSocketProtocol;
|
||||
template <bool, class> friend class WebSocketProtocol;
|
||||
private:
|
||||
using SOCKET_CONTEXT_TYPE = typename StaticDispatch<SSL>::SOCKET_CONTEXT_TYPE;
|
||||
using SOCKET_TYPE = typename StaticDispatch<SSL>::SOCKET_TYPE;
|
||||
|
||||
Reference in New Issue
Block a user