clang-format

This commit is contained in:
gabime
2019-08-27 20:22:07 +03:00
parent c55336e78d
commit c97c025adb
11 changed files with 82 additions and 88 deletions

View File

@@ -22,11 +22,13 @@ class backtracer
public:
explicit backtracer(size_t n_messages)
: n_messages_{n_messages}, messages_{n_messages}
: n_messages_{n_messages}
, messages_{n_messages}
{}
backtracer(const backtracer &other):
n_messages_{other.n_messages_}, messages_{other.messages_}
backtracer(const backtracer &other)
: n_messages_{other.n_messages_}
, messages_{other.messages_}
{}
size_t n_messages() const

View File

@@ -33,7 +33,7 @@ public:
}
log_msg_buffer(const log_msg_buffer &other)
: log_msg{other}
: log_msg{other}
{
buffer.append(logger_name.begin(), logger_name.end());
buffer.append(payload.begin(), payload.end());