mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fix build
This commit is contained in:
parent
c1c6e6265c
commit
13db9d9452
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user