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