aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2022-02-21 15:24:51 +0100
committerPer Larsson <[email protected]>2022-02-21 15:24:51 +0100
commitd19f840e0a309180a644304ba2cd7b33ba2afe04 (patch)
treed033c2df5f4940bc52835e4bdefcc2a0332b0a80
parentInitial support for websockets. (diff)
downloadzen-d19f840e0a309180a644304ba2cd7b33ba2afe04.tar.xz
zen-d19f840e0a309180a644304ba2cd7b33ba2afe04.zip
Added missing parens around sizeof.
-rw-r--r--zenhttp/include/zenhttp/websocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/include/zenhttp/websocket.h b/zenhttp/include/zenhttp/websocket.h
index a514e6002..132dd1679 100644
--- a/zenhttp/include/zenhttp/websocket.h
+++ b/zenhttp/include/zenhttp/websocket.h
@@ -71,7 +71,7 @@ class WebSocketMessage
bool IsValid() const;
};
- static_assert(sizeof Header == 24);
+ static_assert(sizeof(Header) == 24);
static std::atomic_uint32_t NextCorrelationId;