mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 17:41:34 +08:00
Fix empty additional info, 2nd try
There's actually a diffent string view type for wide string...
This commit is contained in:
parent
388679b00e
commit
c98b29aa67
@ -80,7 +80,11 @@ SPDLOG_INLINE void spdlog::async_logger::backend_flush_()
|
||||
{
|
||||
sink->flush();
|
||||
}
|
||||
#if (defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT) || defined(SPDLOG_WCHAR_FILENAMES)) && defined(_WIN32)
|
||||
SPDLOG_LOGGER_CATCH(wstring_view_t())
|
||||
#else
|
||||
SPDLOG_LOGGER_CATCH(string_view_t())
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -203,7 +203,11 @@ SPDLOG_INLINE void logger::flush_()
|
||||
{
|
||||
sink->flush();
|
||||
}
|
||||
#if (defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT) || defined(SPDLOG_WCHAR_FILENAMES)) && defined(_WIN32)
|
||||
SPDLOG_LOGGER_CATCH(wstring_view_t())
|
||||
#else
|
||||
SPDLOG_LOGGER_CATCH(string_view_t())
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user