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->set_level(this->level());
|
||||||
cloned->flush_on(this->flush_level());
|
cloned->flush_on(this->flush_level());
|
||||||
cloned->set_error_handler(this->custom_err_handler_);
|
cloned->set_error_handler(this->custom_err_handler_);
|
||||||
return std::move(cloned);
|
return cloned;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user