Commit ede8d848 authored by Gaurav Vaidya's avatar Gaurav Vaidya

fix constexpr declaration for c++11

parent 53d223b4
......@@ -9,7 +9,11 @@
namespace spdlog {
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment