Fix empty additional info

does not work with wchar_t based string.
This commit is contained in:
Wolfgang Petroschka 2021-08-13 12:30:49 +02:00
parent 119467c580
commit 388679b00e
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ SPDLOG_INLINE void spdlog::async_logger::backend_flush_()
{ {
sink->flush(); sink->flush();
} }
SPDLOG_LOGGER_CATCH("") SPDLOG_LOGGER_CATCH(string_view_t())
} }
} }

View File

@ -203,7 +203,7 @@ SPDLOG_INLINE void logger::flush_()
{ {
sink->flush(); sink->flush();
} }
SPDLOG_LOGGER_CATCH("") SPDLOG_LOGGER_CATCH(string_view_t())
} }
} }