summaryrefslogtreecommitdiff
path: root/src/DHTTaskFactoryImpl.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-06 18:15:09 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-06 18:15:09 +0900
commit81f46fbf924722e22e141119b4a0bfb3ed136fd0 (patch)
treec5e0239fa543c6a5fa5691c46cf62199041f975e /src/DHTTaskFactoryImpl.h
parent5c4f97b8a95ac73e498054ba6caeb8042ad0306b (diff)
Use CXX11_OVERRIDE
Diffstat (limited to 'src/DHTTaskFactoryImpl.h')
-rw-r--r--src/DHTTaskFactoryImpl.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/DHTTaskFactoryImpl.h b/src/DHTTaskFactoryImpl.h
index baded49d..53ff57e1 100644
--- a/src/DHTTaskFactoryImpl.h
+++ b/src/DHTTaskFactoryImpl.h
@@ -69,24 +69,26 @@ public:
virtual std::shared_ptr<DHTTask>
createPingTask(const std::shared_ptr<DHTNode>& remoteNode,
- int numRetry = 0);
+ int numRetry = 0) CXX11_OVERRIDE;
virtual std::shared_ptr<DHTTask>
- createNodeLookupTask(const unsigned char* targetID);
+ createNodeLookupTask(const unsigned char* targetID) CXX11_OVERRIDE;
- virtual std::shared_ptr<DHTTask> createBucketRefreshTask();
+ virtual std::shared_ptr<DHTTask> createBucketRefreshTask() CXX11_OVERRIDE;
virtual std::shared_ptr<DHTTask>
createPeerLookupTask(const std::shared_ptr<DownloadContext>& ctx,
uint16_t tcpPort,
- const std::shared_ptr<PeerStorage>& peerStorage);
+ const std::shared_ptr<PeerStorage>& peerStorage)
+ CXX11_OVERRIDE;
virtual std::shared_ptr<DHTTask>
- createPeerAnnounceTask(const unsigned char* infoHash);
+ createPeerAnnounceTask(const unsigned char* infoHash) CXX11_OVERRIDE;
virtual std::shared_ptr<DHTTask>
createReplaceNodeTask(const std::shared_ptr<DHTBucket>& bucket,
- const std::shared_ptr<DHTNode>& newNode);
+ const std::shared_ptr<DHTNode>& newNode)
+ CXX11_OVERRIDE;
void setRoutingTable(DHTRoutingTable* routingTable);