Skip to content

Commit

Permalink
Always <format> if SPDLOG_USE_STD_FORMAT defined
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Oct 21, 2023
1 parent 5782891 commit 70f7a82
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions include/spdlog/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@
#endif

#ifdef SPDLOG_USE_STD_FORMAT
#if __cpp_lib_format >= 202207L
#include <format>
#else
#include <string_view>
#endif
#include <format>
#endif

#if defined(SPDLOG_SHARED_LIB)
Expand Down

0 comments on commit 70f7a82

Please sign in to comment.