Fix struct/class mismatch

This commit is contained in:
Alex Hultman
2018-12-30 13:29:29 +01:00
parent d597041ca4
commit 2c212f2fb4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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;