mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fix warning: redundant move in return statement
This commit is contained in:
parent
ea5f07110b
commit
a9e92d6c5c
@ -114,5 +114,5 @@ SPDLOG_INLINE std::shared_ptr<spdlog::logger> spdlog::async_logger::clone(std::s
|
||||
cloned->set_level(this->level());
|
||||
cloned->flush_on(this->flush_level());
|
||||
cloned->set_error_handler(this->custom_err_handler_);
|
||||
return std::move(cloned);
|
||||
return cloned;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user