mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
removed the use of str() in when building the log to improve perf even more
This commit is contained in:
@@ -67,7 +67,7 @@ inline c11log::sinks::async_sink::~async_sink()
|
||||
|
||||
inline void c11log::sinks::async_sink::_sink_it(const details::log_msg& msg)
|
||||
{
|
||||
if(!_active || msg.formatted.empty())
|
||||
if(!_active)
|
||||
return;
|
||||
_q.push(msg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user