Fixed some analyzer warnings

This commit is contained in:
gabime
2017-05-06 15:33:12 +03:00
parent 8b11ffe163
commit 81965bc300
2 changed files with 6 additions and 2 deletions

View File

@@ -60,11 +60,15 @@ async_msg(async_msg&& other) SPDLOG_NOEXCEPT:
logger_name(std::move(other.logger_name)),
level(std::move(other.level)),
time(std::move(other.time)),
thread_id(other.thread_id),
txt(std::move(other.txt)),
msg_type(std::move(other.msg_type))
{}
async_msg(async_msg_type m_type):msg_type(m_type)
async_msg(async_msg_type m_type):
level(level::info),
thread_id(0),
msg_type(m_type)
{}
async_msg& operator=(async_msg&& other) SPDLOG_NOEXCEPT