mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +03:00
Use CXX11_OVERRIDE
This commit is contained in:
parent
5c4f97b8a9
commit
81f46fbf92
274 changed files with 1640 additions and 1375 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue