mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Merge pull request #1119 from MarkKoester/patch-1
Fix warning: redundant move in return statement
This commit is contained in:
commit
0cc2ff83ed
@ -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