C++14 build fix
Former-commit-id: b45f50efa2fb56aa995ee6ceb6bd91380c28187c
This commit is contained in:
parent
fbf7074169
commit
a711a040e4
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user