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/RequestGroupEntry.cc | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/RequestGroupEntry.cc')
| -rw-r--r-- | src/RequestGroupEntry.cc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/RequestGroupEntry.cc b/src/RequestGroupEntry.cc index 7a2c64b8..61e7bbc4 100644 --- a/src/RequestGroupEntry.cc +++ b/src/RequestGroupEntry.cc @@ -40,17 +40,13 @@ namespace aria2 { RequestGroupEntry::RequestGroupEntry(RequestGroup* requestGroup, - std::unique_ptr<Command> nextCommand): - requestGroup_(requestGroup), - nextCommand_(std::move(nextCommand)) + std::unique_ptr<Command> nextCommand) + : requestGroup_(requestGroup), nextCommand_(std::move(nextCommand)) { requestGroup_->increaseNumCommand(); } -RequestGroupEntry::~RequestGroupEntry() -{ - requestGroup_->decreaseNumCommand(); -} +RequestGroupEntry::~RequestGroupEntry() { requestGroup_->decreaseNumCommand(); } const std::unique_ptr<Command>& RequestGroupEntry::getNextCommand() const { |
