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/ColorizedStream.cc | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/ColorizedStream.cc')
| -rw-r--r-- | src/ColorizedStream.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ColorizedStream.cc b/src/ColorizedStream.cc index 0f7656c3..b84ec08c 100644 --- a/src/ColorizedStream.cc +++ b/src/ColorizedStream.cc @@ -35,7 +35,6 @@ #include "ColorizedStream.h" - namespace aria2 { namespace colors { @@ -63,7 +62,7 @@ const Color clear("0"); std::string ColorizedStreamBuf::str(bool color) const { std::stringstream rv; - for (const auto& e: elems) { + for (const auto& e : elems) { if (color || e.first != eColor) { rv << e.second; } @@ -77,7 +76,7 @@ std::string ColorizedStreamBuf::str(bool color) const std::string ColorizedStreamBuf::str(bool color, size_t max) const { std::stringstream rv; - for (const auto& e: elems) { + for (const auto& e : elems) { if (e.first == eColor) { if (color) { rv << e.second; |
