diff --git a/src/Poller/EventPoller.h b/src/Poller/EventPoller.h index 4fb45026..72887840 100644 --- a/src/Poller/EventPoller.h +++ b/src/Poller/EventPoller.h @@ -152,7 +152,7 @@ class EventPoller : public TaskExecutor, public AnyStorage, public std::enable_s /** * 内部管道事件,用于唤醒轮询线程用 */ - void onPipeEvent(bool flus = false); + void onPipeEvent(bool flush = false); /** * 切换线程并执行任务