mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
Merge pull request #814 from maciekgajewski/no-pessimizing-move
Pessimizing move removed
This commit is contained in:
commit
f3798159e7
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user