Merge pull request #1889 from stevenlunt/set_string_view

remove constexpr on level_string_views to fix compilation on C++17 fr…
This commit is contained in:
Gabi Melman
2021-03-25 20:59:37 +02:00
committed by GitHub

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;