diff options
| author | Per Larsson <[email protected]> | 2022-02-21 15:24:51 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2022-02-21 15:24:51 +0100 |
| commit | d19f840e0a309180a644304ba2cd7b33ba2afe04 (patch) | |
| tree | d033c2df5f4940bc52835e4bdefcc2a0332b0a80 | |
| parent | Initial support for websockets. (diff) | |
| download | zen-d19f840e0a309180a644304ba2cd7b33ba2afe04.tar.xz zen-d19f840e0a309180a644304ba2cd7b33ba2afe04.zip | |
Added missing parens around sizeof.
| -rw-r--r-- | zenhttp/include/zenhttp/websocket.h | 2 |
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; |