Changed some functions to accept strings instead of ref to strings for better semantics
This commit is contained in:
parent
b710e0fe86
commit
0a3c81826f
@ -151,8 +151,8 @@ public:
|
||||
: runtime_error(msg)
|
||||
{
|
||||
}
|
||||
spdlog_ex(const std::string &msg, int last_errno)
|
||||
: runtime_error(msg)
|
||||
spdlog_ex(std::string msg, int last_errno)
|
||||
: runtime_error(std::move(msg))
|
||||
, last_errno_(last_errno)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user