mirror of
https://github.com/aria2/aria2.git
synced 2026-04-02 10:55:00 +00:00
Fix some compiler warnings
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
||||
}
|
||||
|
||||
virtual std::shared_ptr<Peer>
|
||||
addAndCheckoutPeer(const std::shared_ptr<Peer>& peer, cuid_t cuid)
|
||||
addAndCheckoutPeer(const std::shared_ptr<Peer>& peer, cuid_t cuid) CXX11_OVERRIDE
|
||||
{
|
||||
unusedPeers.push_back(peer);
|
||||
return nullptr;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include "BitfieldMan.h"
|
||||
#include "FatalException.h"
|
||||
#include "Piece.h"
|
||||
#include "DiskAdaptor.h"
|
||||
|
||||
@@ -250,6 +251,7 @@ public:
|
||||
getAdvertisedPieceIndexes(std::vector<size_t>& indexes, cuid_t myCuid,
|
||||
uint64_t lastHaveIndex) CXX11_OVERRIDE
|
||||
{
|
||||
throw FATAL_EXCEPTION("Not Implemented!");
|
||||
}
|
||||
|
||||
virtual void removeAdvertisedPiece(const Timer& expiry) CXX11_OVERRIDE {}
|
||||
|
||||
Reference in New Issue
Block a user