mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 14:42:13 +08:00
Fixed clang-tidy warning
This commit is contained in:
parent
8e80081f99
commit
7af3f014af
@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user