diff --git a/include/spdlog/async_logger-inl.h b/include/spdlog/async_logger-inl.h index 9f94d14f..60126cf0 100644 --- a/include/spdlog/async_logger-inl.h +++ b/include/spdlog/async_logger-inl.h @@ -80,7 +80,7 @@ SPDLOG_INLINE void spdlog::async_logger::backend_flush_() { sink->flush(); } - SPDLOG_LOGGER_CATCH("") + SPDLOG_LOGGER_CATCH(string_view_t()) } } diff --git a/include/spdlog/logger-inl.h b/include/spdlog/logger-inl.h index c44caff3..b6d02624 100644 --- a/include/spdlog/logger-inl.h +++ b/include/spdlog/logger-inl.h @@ -203,7 +203,7 @@ SPDLOG_INLINE void logger::flush_() { sink->flush(); } - SPDLOG_LOGGER_CATCH("") + SPDLOG_LOGGER_CATCH(string_view_t()) } }