Commit b0a687c1 authored by gabime's avatar gabime

astyle

parent 4462a3c4
This diff is collapsed.
......@@ -48,7 +48,7 @@ struct log_msg
level(other.level),
time(other.time),
tm_time(other.tm_time)
{
{
raw.write(other.raw.data(), other.raw.size());
formatted.write(other.formatted.data(), other.formatted.size());
}
......@@ -61,7 +61,7 @@ struct log_msg
raw(std::move(other.raw)),
formatted(std::move(other.formatted))
{
other.clear();
other.clear();
}
log_msg& operator=(log_msg&& other)
......@@ -75,7 +75,7 @@ struct log_msg
tm_time = other.tm_time;
raw = std::move(other.raw);
formatted = std::move(other.formatted);
other.clear();
other.clear();
return *this;
}
......@@ -83,7 +83,7 @@ struct log_msg
void clear()
{
level = level::OFF;
level = level::OFF;
raw.clear();
formatted.clear();
}
......
......@@ -112,7 +112,7 @@ inline void spdlog::sinks::async_sink::_sink_it(const details::log_msg& msg)
{
_push_sentry();
_q.push(std::move(msg));
}
inline void spdlog::sinks::async_sink::_thread_loop()
......@@ -131,9 +131,9 @@ inline void spdlog::sinks::async_sink::_thread_loop()
{
_formatter->format(msg);
for (auto &s : _sinks)
for (auto &s : _sinks)
s->log(msg);
}
catch (const std::exception& ex)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment