From 7f557cef415a0e6c00db6330d18df0701324cac9 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Tue, 1 Dec 2020 05:53:28 +0100 Subject: [PATCH] Add basic ABI check --- src/App.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.h b/src/App.h index f6aed6b..50852c4 100644 --- a/src/App.h +++ b/src/App.h @@ -46,6 +46,8 @@ namespace uWS { } }; + static_assert(sizeof(struct us_socket_context_options_t) == sizeof(SocketContextOptions), "Mismatching uSockets/uWebSockets ABI"); + template struct TemplatedApp { private: