Commit 0a3c8182 authored by gabime's avatar gabime

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

parent b710e0fe
......@@ -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)
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment