From b1132d6b10cd3791b9529d7031d723fd0e2d8215 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 27 Dec 2015 18:39:47 +0900 Subject: make clang-format using clang-format-3.6 --- src/StreamCheckIntegrityEntry.cc | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'src/StreamCheckIntegrityEntry.cc') diff --git a/src/StreamCheckIntegrityEntry.cc b/src/StreamCheckIntegrityEntry.cc index aa345806..2f5500a0 100644 --- a/src/StreamCheckIntegrityEntry.cc +++ b/src/StreamCheckIntegrityEntry.cc @@ -42,29 +42,30 @@ namespace aria2 { -StreamCheckIntegrityEntry::StreamCheckIntegrityEntry -(RequestGroup* requestGroup, std::unique_ptr nextCommand): - PieceHashCheckIntegrityEntry(requestGroup, std::move(nextCommand)) -{} +StreamCheckIntegrityEntry::StreamCheckIntegrityEntry( + RequestGroup* requestGroup, std::unique_ptr nextCommand) + : PieceHashCheckIntegrityEntry(requestGroup, std::move(nextCommand)) +{ +} StreamCheckIntegrityEntry::~StreamCheckIntegrityEntry() {} -void StreamCheckIntegrityEntry::onDownloadIncomplete -(std::vector>& commands, DownloadEngine* e) +void StreamCheckIntegrityEntry::onDownloadIncomplete( + std::vector>& commands, DownloadEngine* e) { auto& ps = getRequestGroup()->getPieceStorage(); ps->onDownloadIncomplete(); - if(getRequestGroup()->getOption()->getAsBool(PREF_HASH_CHECK_ONLY)) { + if (getRequestGroup()->getOption()->getAsBool(PREF_HASH_CHECK_ONLY)) { return; } - proceedFileAllocation(commands, - make_unique - (getRequestGroup(), popNextCommand()), + proceedFileAllocation(commands, make_unique( + getRequestGroup(), popNextCommand()), e); } -void StreamCheckIntegrityEntry::onDownloadFinished -(std::vector>& commands, DownloadEngine* e) -{} +void StreamCheckIntegrityEntry::onDownloadFinished( + std::vector>& commands, DownloadEngine* e) +{ +} } // namespace aria2 -- cgit