Fixed some more clang-tidy warnings

This commit is contained in:
gabime
2019-11-08 16:20:41 +02:00
parent 93008b2369
commit bff85725d2
4 changed files with 5 additions and 5 deletions

View File

@@ -150,7 +150,7 @@ SPDLOG_INLINE std::vector<sink_ptr> &logger::sinks()
// error handler
SPDLOG_INLINE void logger::set_error_handler(err_handler handler)
{
custom_err_handler_ = handler;
custom_err_handler_ = std::move(handler);
}
// create new logger with same sinks and configuration.