mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
Windows/wchar problems
Mixing char types in libfmt is a problem and WIP.
This commit is contained in:
@@ -203,11 +203,7 @@ 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
|
||||
SPDLOG_LOGGER_CATCH("")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user