mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fix empty additional info
does not work with wchar_t based string.
This commit is contained in:
@@ -80,7 +80,7 @@ SPDLOG_INLINE void spdlog::async_logger::backend_flush_()
|
||||
{
|
||||
sink->flush();
|
||||
}
|
||||
SPDLOG_LOGGER_CATCH("")
|
||||
SPDLOG_LOGGER_CATCH(string_view_t())
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -203,7 +203,7 @@ SPDLOG_INLINE void logger::flush_()
|
||||
{
|
||||
sink->flush();
|
||||
}
|
||||
SPDLOG_LOGGER_CATCH("")
|
||||
SPDLOG_LOGGER_CATCH(string_view_t())
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user