Unverified Commit f3798159 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #814 from maciekgajewski/no-pessimizing-move

Pessimizing move removed
parents 6c5bbca0 c4de214c
...@@ -357,5 +357,5 @@ inline std::shared_ptr<spdlog::logger> spdlog::logger::clone(std::string logger_ ...@@ -357,5 +357,5 @@ inline std::shared_ptr<spdlog::logger> spdlog::logger::clone(std::string logger_
cloned->set_level(this->level()); cloned->set_level(this->level());
cloned->flush_on(this->flush_level()); cloned->flush_on(this->flush_level());
cloned->set_error_handler(this->error_handler()); cloned->set_error_handler(this->error_handler());
return std::move(cloned); return cloned;
} }
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