mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Revert "remove constexpr on level_string_views to fix compilation on C++17 from addition of set_string_view"
This reverts commit ac3e26b0ff
.
This commit is contained in:
parent
af0d805be4
commit
a32cea24fd
@ -13,6 +13,9 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user