clang-format

pull/1516/head
gabime 5 years ago
parent d38bd138cd
commit 8bc1ca0e44

@ -65,7 +65,7 @@ template<typename T>
inline void pad3(T n, memory_buf_t &dest) inline void pad3(T n, memory_buf_t &dest)
{ {
static_assert(std::is_unsigned<T>::value, "pad3 must get unsigned T"); static_assert(std::is_unsigned<T>::value, "pad3 must get unsigned T");
if(n < 1000) if (n < 1000)
{ {
dest.push_back(static_cast<char>(n / 100 + '0')); dest.push_back(static_cast<char>(n / 100 + '0'));
n = n % 100; n = n % 100;

@ -659,7 +659,6 @@ public:
} }
}; };
// Current pid // Current pid
template<typename ScopedPadder> template<typename ScopedPadder>
class pid_formatter final : public flag_formatter class pid_formatter final : public flag_formatter
@ -694,7 +693,6 @@ public:
} }
}; };
template<typename ScopedPadder> template<typename ScopedPadder>
class v_formatter final : public flag_formatter class v_formatter final : public flag_formatter
{ {

Loading…
Cancel
Save