Pessimizing move removed

This commit is contained in:
Maciej Gajewski 2018-08-29 17:21:38 +02:00
parent 6c5bbca0c1
commit c4de214cea

View File

@ -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;
} }