From f31a834613ba72489b37304eab588b76bef0d919 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 15 Mar 2020 17:16:28 +0200 Subject: [PATCH] clang-format --- include/spdlog/fmt/bin_to_hex.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/spdlog/fmt/bin_to_hex.h b/include/spdlog/fmt/bin_to_hex.h index 13ddbc3a..d004f086 100644 --- a/include/spdlog/fmt/bin_to_hex.h +++ b/include/spdlog/fmt/bin_to_hex.h @@ -14,7 +14,7 @@ // {:s} - don't separate each byte with space. // {:p} - don't print the position on each line start. // {:n} - don't split the output to lines. -// {:a} - show ASCII if :n is not set +// {:a} - show ASCII if :n is not set // // Examples: @@ -155,10 +155,9 @@ struct formatter> auto pc = static_cast(*j); *inserter++ = std::isprint(pc) ? static_cast(*j) : '.'; } - } - put_newline(inserter, static_cast(i - the_range.begin())); + put_newline(inserter, static_cast(i - the_range.begin())); // put first byte without delimiter in front of it *inserter++ = hex_chars[(ch >> 4) & 0x0f];