mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fixed clang-tidy warning
This commit is contained in:
@@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user