Fixed clang-tidy warning

This commit is contained in:
gabime 2018-09-27 00:59:28 +03:00
parent 8e80081f99
commit 7af3f014af
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@ enum class pattern_time_type
class spdlog_ex : public std::exception
{
public:
explicit spdlog_ex(const std::string &msg)
: msg_(msg)
explicit spdlog_ex(std::string msg)
: msg_(std::move(msg))
{
}