Fix warning: redundant move in return statement

This commit is contained in:
Mark Koester 2019-06-21 15:24:52 -04:00 committed by GitHub
parent ea5f07110b
commit a9e92d6c5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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