diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 18:15:09 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 18:15:09 +0900 |
| commit | 81f46fbf924722e22e141119b4a0bfb3ed136fd0 (patch) | |
| tree | c5e0239fa543c6a5fa5691c46cf62199041f975e /src/PollEventPoll.h | |
| parent | 5c4f97b8a95ac73e498054ba6caeb8042ad0306b (diff) | |
Use CXX11_OVERRIDE
Diffstat (limited to 'src/PollEventPoll.h')
| -rw-r--r-- | src/PollEventPoll.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/PollEventPoll.h b/src/PollEventPoll.h index 730a7da6..0b88baef 100644 --- a/src/PollEventPoll.h +++ b/src/PollEventPoll.h @@ -104,19 +104,22 @@ public: virtual ~PollEventPoll(); - 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<AsyncNameResolver>& resolver, - Command* command); + Command* command) CXX11_OVERRIDE; virtual bool deleteNameResolver - (const std::shared_ptr<AsyncNameResolver>& resolver, Command* command); + (const std::shared_ptr<AsyncNameResolver>& resolver, Command* command) + CXX11_OVERRIDE; #endif // ENABLE_ASYNC_DNS static const int IEV_READ = POLLIN; |
