Changed sink_it_ to accept const log_message&

This commit is contained in:
gabime
2019-08-22 19:57:59 +03:00
parent 7e728869cc
commit 0284a23d0a
6 changed files with 7 additions and 8 deletions

View File

@@ -161,7 +161,7 @@ SPDLOG_INLINE std::shared_ptr<logger> logger::clone(std::string logger_name)
}
// protected methods
SPDLOG_INLINE void logger::sink_it_(details::log_msg &msg)
SPDLOG_INLINE void logger::sink_it_(const details::log_msg &msg)
{
for (auto &sink : sinks_)
{