mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 08:50:26 +08:00
remove constexpr on level_string_views to fix compilation on C++17 from addition of set_string_view
This commit is contained in:
parent
2a16d1d230
commit
ac3e26b0ff
@ -10,9 +10,6 @@
|
|||||||
namespace spdlog {
|
namespace spdlog {
|
||||||
namespace level {
|
namespace level {
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
|
||||||
constexpr
|
|
||||||
#endif
|
|
||||||
static string_view_t level_string_views[] SPDLOG_LEVEL_NAMES;
|
static string_view_t level_string_views[] SPDLOG_LEVEL_NAMES;
|
||||||
|
|
||||||
static const char *short_level_names[] SPDLOG_SHORT_LEVEL_NAMES;
|
static const char *short_level_names[] SPDLOG_SHORT_LEVEL_NAMES;
|
||||||
|
Loading…
Reference in New Issue
Block a user