Fix build

This commit is contained in:
gabime 2019-04-09 16:46:17 +03:00
parent c1c6e6265c
commit 13db9d9452
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ public:
{ {
fmt::memory_buffer buf; fmt::memory_buffer buf;
fmt::format_to(buf, "{}", msg); fmt::format_to(buf, "{}", msg);
details::log_msg log_msg(loc, &name_, lvl, lvl, string_view_t(buf.data(), buf.size())); details::log_msg log_msg(loc, &name_, lvl, string_view_t(buf.data(), buf.size()));
sink_it_(log_msg); sink_it_(log_msg);
} }
catch (const std::exception &ex) catch (const std::exception &ex)