Fixed issue #881

This commit is contained in:
gabime 2018-10-24 08:47:02 +03:00
parent 99e23b41eb
commit 240a58fd6e
2 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ inline void spdlog::logger::set_error_handler(spdlog::log_err_handler err_handle
err_handler_ = std::move(err_handler);
}
inline spdlog::log_err_handler spdlog::logger::error_handler()
inline spdlog::log_err_handler spdlog::logger::error_handler() const
{
return err_handler_;
}

View File

@ -140,7 +140,7 @@ public:
// error handler
void set_error_handler(log_err_handler err_handler);
log_err_handler error_handler();
log_err_handler error_handler() const;
// create new logger with same sinks and configuration.
virtual std::shared_ptr<logger> clone(std::string logger_name);