mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
fix constexpr declaration for c++11
This commit is contained in:
parent
53d223b45f
commit
ede8d84884
@ -9,7 +9,11 @@
|
|||||||
|
|
||||||
namespace spdlog {
|
namespace spdlog {
|
||||||
namespace level {
|
namespace level {
|
||||||
static FMT_CONSTEXPR string_view_t level_string_views[] SPDLOG_LEVEL_NAMES;
|
|
||||||
|
#if __cplusplus >= 201402L
|
||||||
|
constexpr
|
||||||
|
#endif
|
||||||
|
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