Always <format> if SPDLOG_USE_STD_FORMAT defined

This commit is contained in:
gabime 2023-10-21 13:43:30 +03:00
parent 5782891494
commit 70f7a8252d

View File

@ -24,11 +24,7 @@
#endif #endif
#ifdef SPDLOG_USE_STD_FORMAT #ifdef SPDLOG_USE_STD_FORMAT
#if __cpp_lib_format >= 202207L
#include <format> #include <format>
#else
#include <string_view>
#endif
#endif #endif
#if defined(SPDLOG_SHARED_LIB) #if defined(SPDLOG_SHARED_LIB)