diff options
-rw-r--r-- | include/socketengine_epoll.h | 2 | ||||
-rw-r--r-- | include/socketengine_kqueue.h | 2 | ||||
-rw-r--r-- | include/socketengine_select.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/socketengine_epoll.h b/include/socketengine_epoll.h index d61e8e865..736a109eb 100644 --- a/include/socketengine_epoll.h +++ b/include/socketengine_epoll.h @@ -45,7 +45,7 @@ public: virtual bool AddFd(EventHandler* eh); virtual int GetMaxFds(); virtual int GetRemainingFds(); - virtual bool DelFd(EventHandler* eh, bool force); + virtual bool DelFd(EventHandler* eh, bool force = false); virtual int DispatchEvents(); virtual std::string GetName(); virtual void WantWrite(EventHandler* eh); diff --git a/include/socketengine_kqueue.h b/include/socketengine_kqueue.h index 505607dae..e7413d4bb 100644 --- a/include/socketengine_kqueue.h +++ b/include/socketengine_kqueue.h @@ -49,7 +49,7 @@ public: virtual bool AddFd(EventHandler* eh); virtual int GetMaxFds(); virtual int GetRemainingFds(); - virtual bool DelFd(EventHandler* eh, bool force); + virtual bool DelFd(EventHandler* eh, bool force = false); virtual int DispatchEvents(); virtual std::string GetName(); virtual void WantWrite(EventHandler* eh); diff --git a/include/socketengine_select.h b/include/socketengine_select.h index ed774f5c1..2126e8ec5 100644 --- a/include/socketengine_select.h +++ b/include/socketengine_select.h @@ -50,7 +50,7 @@ public: virtual bool AddFd(EventHandler* eh); virtual int GetMaxFds(); virtual int GetRemainingFds(); - virtual bool DelFd(EventHandler* eh, bool force); + virtual bool DelFd(EventHandler* eh, bool force = false); virtual int DispatchEvents(); virtual std::string GetName(); virtual void WantWrite(EventHandler* eh); |