diff --git a/include/spdlog/async_logger-inl.h b/include/spdlog/async_logger-inl.h index 5c3b0e37..159e171e 100644 --- a/include/spdlog/async_logger-inl.h +++ b/include/spdlog/async_logger-inl.h @@ -114,5 +114,5 @@ SPDLOG_INLINE std::shared_ptr 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; }