From a711a040e4e5a5e18535d8806952d5a7a9edfa39 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: b45f50efa2fb56aa995ee6ceb6bd91380c28187c --- 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 )