Use CXX11_OVERRIDE

This commit is contained in:
Tatsuhiro Tsujikawa 2013-07-06 18:15:09 +09:00
parent 5c4f97b8a9
commit 81f46fbf92
274 changed files with 1640 additions and 1375 deletions

View file

@ -11,18 +11,18 @@ public:
virtual std::shared_ptr<DHTTask>
createPingTask(const std::shared_ptr<DHTNode>& remoteNode,
int numRetry = 0)
int numRetry = 0) CXX11_OVERRIDE
{
return nullptr;
}
virtual std::shared_ptr<DHTTask>
createNodeLookupTask(const unsigned char* targetID)
createNodeLookupTask(const unsigned char* targetID) CXX11_OVERRIDE
{
return nullptr;
}
virtual std::shared_ptr<DHTTask> createBucketRefreshTask()
virtual std::shared_ptr<DHTTask> createBucketRefreshTask() CXX11_OVERRIDE
{
return nullptr;
}
@ -31,19 +31,20 @@ public:
createPeerLookupTask(const std::shared_ptr<DownloadContext>& ctx,
uint16_t tcpPort,
const std::shared_ptr<PeerStorage>& peerStorage)
CXX11_OVERRIDE
{
return nullptr;
}
virtual std::shared_ptr<DHTTask>
createPeerAnnounceTask(const unsigned char* infoHash)
createPeerAnnounceTask(const unsigned char* infoHash) CXX11_OVERRIDE
{
return nullptr;
}
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
{
return nullptr;
}