mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 21:47:37 +03:00
Use CXX11_OVERRIDE
This commit is contained in:
parent
5c4f97b8a9
commit
81f46fbf92
274 changed files with 1640 additions and 1375 deletions
|
@ -24,7 +24,7 @@ public:
|
|||
|
||||
virtual std::unique_ptr<DHTQueryMessage>
|
||||
createQueryMessage(const Dict* dict,
|
||||
const std::string& ipaddr, uint16_t port)
|
||||
const std::string& ipaddr, uint16_t port) CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ public:
|
|||
createResponseMessage(const std::string& messageType,
|
||||
const Dict* dict,
|
||||
const std::string& ipaddr, uint16_t port)
|
||||
CXX11_OVERRIDE
|
||||
{
|
||||
auto remoteNode = std::make_shared<DHTNode>();
|
||||
// TODO At this point, removeNode's ID is random.
|
||||
|
@ -44,7 +45,7 @@ public:
|
|||
|
||||
virtual std::unique_ptr<DHTPingMessage>
|
||||
createPingMessage(const std::shared_ptr<DHTNode>& remoteNode,
|
||||
const std::string& transactionID = "")
|
||||
const std::string& transactionID = "") CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -52,7 +53,7 @@ public:
|
|||
virtual std::unique_ptr<DHTPingReplyMessage>
|
||||
createPingReplyMessage(const std::shared_ptr<DHTNode>& remoteNode,
|
||||
const unsigned char* remoteNodeID,
|
||||
const std::string& transactionID)
|
||||
const std::string& transactionID) CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -60,7 +61,7 @@ public:
|
|||
virtual std::unique_ptr<DHTFindNodeMessage>
|
||||
createFindNodeMessage(const std::shared_ptr<DHTNode>& remoteNode,
|
||||
const unsigned char* targetNodeID,
|
||||
const std::string& transactionID = "")
|
||||
const std::string& transactionID = "") CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -69,7 +70,7 @@ public:
|
|||
createFindNodeReplyMessage
|
||||
(const std::shared_ptr<DHTNode>& remoteNode,
|
||||
std::vector<std::shared_ptr<DHTNode>> closestKNodes,
|
||||
const std::string& transactionID)
|
||||
const std::string& transactionID) CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -77,7 +78,7 @@ public:
|
|||
virtual std::unique_ptr<DHTGetPeersMessage>
|
||||
createGetPeersMessage(const std::shared_ptr<DHTNode>& remoteNode,
|
||||
const unsigned char* infoHash,
|
||||
const std::string& transactionID)
|
||||
const std::string& transactionID) CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -88,7 +89,7 @@ public:
|
|||
std::vector<std::shared_ptr<DHTNode>> closestKNodes,
|
||||
std::vector<std::shared_ptr<Peer>> peers,
|
||||
const std::string& token,
|
||||
const std::string& transactionID)
|
||||
const std::string& transactionID) CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -99,6 +100,7 @@ public:
|
|||
uint16_t tcpPort,
|
||||
const std::string& token,
|
||||
const std::string& transactionID = "")
|
||||
CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -106,13 +108,14 @@ public:
|
|||
virtual std::unique_ptr<DHTAnnouncePeerReplyMessage>
|
||||
createAnnouncePeerReplyMessage(const std::shared_ptr<DHTNode>& remoteNode,
|
||||
const std::string& transactionID)
|
||||
CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
virtual std::unique_ptr<DHTUnknownMessage>
|
||||
createUnknownMessage(const unsigned char* data, size_t length,
|
||||
const std::string& ipaddr, uint16_t port)
|
||||
const std::string& ipaddr, uint16_t port) CXX11_OVERRIDE
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue