diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:39:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:40:08 +0900 |
| commit | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch) | |
| tree | 9ce465b42bf09372118335c7c619bb2b41869eaf /src/RarestPieceSelector.h | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/RarestPieceSelector.h')
| -rw-r--r-- | src/RarestPieceSelector.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/RarestPieceSelector.h b/src/RarestPieceSelector.h index 6d1ea86c..a91bdc24 100644 --- a/src/RarestPieceSelector.h +++ b/src/RarestPieceSelector.h @@ -43,18 +43,17 @@ namespace aria2 { class PieceStatMan; -class RarestPieceSelector:public PieceSelector { +class RarestPieceSelector : public PieceSelector { private: std::shared_ptr<PieceStatMan> pieceStatMan_; + public: RarestPieceSelector(const std::shared_ptr<PieceStatMan>& pieceStatMan); - virtual bool select - (size_t& index, const unsigned char* bitfield, size_t nbits) const - CXX11_OVERRIDE; + virtual bool select(size_t& index, const unsigned char* bitfield, + size_t nbits) const CXX11_OVERRIDE; }; } // namespace aria2 #endif // D_RAREST_PIECE_SELECTOR_H - |
