From 71025c8bcc68929cea2260d92de03e20a3c898d2 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Fri, 17 Jun 2022 20:29:56 -0700 Subject: Fix most of the errors --- src/javascript/jsc/bindings/ScriptExecutionContext.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/javascript/jsc/bindings/ScriptExecutionContext.h') diff --git a/src/javascript/jsc/bindings/ScriptExecutionContext.h b/src/javascript/jsc/bindings/ScriptExecutionContext.h index 8f4e2edfd..f966cf5f6 100644 --- a/src/javascript/jsc/bindings/ScriptExecutionContext.h +++ b/src/javascript/jsc/bindings/ScriptExecutionContext.h @@ -10,7 +10,11 @@ #include #include "CachedScript.h" #include "wtf/URL.h" -#include + +namespace uWS { +template +struct WebSocketContext; +} struct us_socket_t; struct us_socket_context_t; @@ -106,7 +110,7 @@ private: us_socket_context_t* m_ssl_client_websockets_ctx = nullptr; us_socket_context_t* m_client_websockets_ctx = nullptr; - uWS::WebSocketContext* m_ssl_client_websockets_ctx = nullptr; - uWS::WebSocketContext* m_client_websockets_ctx = nullptr; + uWS::WebSocketContext* m_connected_ssl_client_websockets_ctx = nullptr; + uWS::WebSocketContext* m_connected_client_websockets_ctx = nullptr; }; } \ No newline at end of file -- cgit v1.2.3