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/PieceHashCheckIntegrityEntry.cc | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/PieceHashCheckIntegrityEntry.cc')
| -rw-r--r-- | src/PieceHashCheckIntegrityEntry.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/PieceHashCheckIntegrityEntry.cc b/src/PieceHashCheckIntegrityEntry.cc index 2935876e..76f22c56 100644 --- a/src/PieceHashCheckIntegrityEntry.cc +++ b/src/PieceHashCheckIntegrityEntry.cc @@ -41,26 +41,26 @@ namespace aria2 { -PieceHashCheckIntegrityEntry::PieceHashCheckIntegrityEntry -(RequestGroup* requestGroup, - std::unique_ptr<Command> nextCommand) - : CheckIntegrityEntry{requestGroup, std::move(nextCommand)} -{} +PieceHashCheckIntegrityEntry::PieceHashCheckIntegrityEntry( + RequestGroup* requestGroup, std::unique_ptr<Command> nextCommand) + : CheckIntegrityEntry{requestGroup, std::move(nextCommand)} +{ +} PieceHashCheckIntegrityEntry::~PieceHashCheckIntegrityEntry() {} bool PieceHashCheckIntegrityEntry::isValidationReady() { const std::shared_ptr<DownloadContext>& dctx = - getRequestGroup()->getDownloadContext(); + getRequestGroup()->getDownloadContext(); return dctx->isPieceHashVerificationAvailable(); } void PieceHashCheckIntegrityEntry::initValidator() { - auto validator = make_unique<IteratableChunkChecksumValidator> - (getRequestGroup()->getDownloadContext(), - getRequestGroup()->getPieceStorage()); + auto validator = make_unique<IteratableChunkChecksumValidator>( + getRequestGroup()->getDownloadContext(), + getRequestGroup()->getPieceStorage()); validator->init(); setValidator(std::move(validator)); } |
