Skip to content

Commit

Permalink
Fix compile in gcc9 is_convertible_to_sv
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Nov 26, 2024
1 parent 30f0681 commit ae753bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/spdlog/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ using wmemory_buf_t = fmt::basic_memory_buffer<wchar_t, 250>;
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_INFO
#endif

// Is convertable to string_view_t ?
// Is convertable to string_view ?
template <typename T>
using is_convertible_to_sv = std::enable_if_t<std::is_convertible_v<T, string_view_t>>;
using is_convertible_to_sv = std::enable_if_t<std::is_convertible_v<T, std::string_view>>;

// Log level enum
enum class level {
Expand Down

0 comments on commit ae753bb

Please sign in to comment.