remove constexpr on level_string_views to fix compilation on C++17 from addition of set_string_view

This commit is contained in:
steven lunt 2021-03-24 18:20:08 -04:00
parent 2a16d1d230
commit ac3e26b0ff

View File

@ -10,9 +10,6 @@
namespace spdlog {
namespace level {
#if __cplusplus >= 201703L
constexpr
#endif
static string_view_t level_string_views[] SPDLOG_LEVEL_NAMES;
static const char *short_level_names[] SPDLOG_SHORT_LEVEL_NAMES;