From 81f46fbf924722e22e141119b4a0bfb3ed136fd0 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 6 Jul 2013 18:15:09 +0900 Subject: Use CXX11_OVERRIDE --- src/KqueueEventPoll.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/KqueueEventPoll.h') diff --git a/src/KqueueEventPoll.h b/src/KqueueEventPoll.h index c84d2078..9e0ea47e 100644 --- a/src/KqueueEventPoll.h +++ b/src/KqueueEventPoll.h @@ -110,19 +110,22 @@ public: virtual ~KqueueEventPoll(); - virtual void poll(const struct timeval& tv); + virtual void poll(const struct timeval& tv) CXX11_OVERRIDE; virtual bool addEvents(sock_t socket, - Command* command, EventPoll::EventType events); + Command* command, EventPoll::EventType events) + CXX11_OVERRIDE; virtual bool deleteEvents(sock_t socket, - Command* command, EventPoll::EventType events); + Command* command, EventPoll::EventType events) + CXX11_OVERRIDE; #ifdef ENABLE_ASYNC_DNS virtual bool addNameResolver(const std::shared_ptr& resolver, - Command* command); + Command* command) CXX11_OVERRIDE; virtual bool deleteNameResolver - (const std::shared_ptr& resolver, Command* command); + (const std::shared_ptr& resolver, Command* command) + CXX11_OVERRIDE; #endif // ENABLE_ASYNC_DNS static const int IEV_READ = POLLIN; -- cgit