From 74a4048195346866393a4242a2ff2ce948c11a14 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Mon, 21 Jan 2019 08:40:21 -0800 Subject: [PATCH] Align LoopData, HttpContextData --- src/HttpContextData.h | 2 +- src/LoopData.h | 2 +- uSockets | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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