aria2/test/MockPieceSelector.h
Tatsuhiro Tsujikawa 81f46fbf92 Use CXX11_OVERRIDE
2013-07-06 18:15:09 +09:00

21 lines
363 B
C++

#ifndef D_MOCK_PIECE_SELECTOR_H
#define D_MOCK_PIECE_SELECTOR_H
#include "PieceSelector.h"
namespace aria2 {
class MockPieceSelector:public PieceSelector {
public:
virtual bool select
(size_t& index, const unsigned char* bitfield, size_t nbits) const
CXX11_OVERRIDE
{
return false;
}
};
} // namespace aria2
#endif // D_MOCK_PIECE_SELECTOR_H