From cb4a6bf610fbd45fcf1e078a961a563aa5fd282f Mon Sep 17 00:00:00 2001 From: John Sully Date: Mon, 17 Feb 2020 23:29:03 -0500 Subject: [PATCH] C++14 build fix Former-commit-id: 5a3e3c9fe20dabe294c439cd2b22e929a228f596 --- src/ae.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ae.cpp b/src/ae.cpp index 25898007e..00926d9f5 100644 --- a/src/ae.cpp +++ b/src/ae.cpp @@ -131,7 +131,7 @@ struct aeCommand aeCommandControl *pctl; }; #ifdef PIPE_BUF -static_assert(sizeof(aeCommand) <= PIPE_BUF); +static_assert(sizeof(aeCommand) <= PIPE_BUF, "aeCommand must be small enough to send atomically through a pipe"); #endif void aeProcessCmd(aeEventLoop *eventLoop, int fd, void *, int )