diff --git a/src/HttpContextData.h b/src/HttpContextData.h index 45642ae..bc20b2e 100644 --- a/src/HttpContextData.h +++ b/src/HttpContextData.h @@ -30,7 +30,7 @@ template struct HttpResponse; class HttpRequest; template -struct HttpContextData { +struct alignas(16) HttpContextData { template friend struct HttpContext; template friend struct HttpResponse; private: diff --git a/src/LoopData.h b/src/LoopData.h index 7a47078..f7555ab 100644 --- a/src/LoopData.h +++ b/src/LoopData.h @@ -29,7 +29,7 @@ namespace uWS { struct Loop; -struct LoopData { +struct alignas(16) LoopData { friend struct Loop; private: std::mutex deferMutex; diff --git a/uSockets b/uSockets index b876997..529046b 160000 --- a/uSockets +++ b/uSockets @@ -1 +1 @@ -Subproject commit b8769978449f9509314cd7b6b981e630ff312a21 +Subproject commit 529046b2f5a55e6a76643d7e90bc256ea9c26d9c