mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
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:
commit
1574b5b0a2
@ -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