Changed some functions to accept strings instead of ref to strings for better semantics

pull/773/head
gabime 7 years ago
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…
Cancel
Save