mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-27 07:59:03 +08:00
always use std::string_view and remove is_convertible_to_sv
This commit is contained in:
parent
0641ddec58
commit
1d2138fdbe
@ -133,10 +133,6 @@ 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 ?
|
||||
template <typename T>
|
||||
using is_convertible_to_sv = std::enable_if_t<std::is_convertible_v<T, string_view_t>>;
|
||||
|
||||
// Log level enum
|
||||
enum class level {
|
||||
trace = SPDLOG_LEVEL_TRACE,
|
||||
|
Loading…
Reference in New Issue
Block a user