Commit a32cea24 authored by steven lunt's avatar steven lunt

Revert "remove constexpr on level_string_views to fix compilation on C++17...

Revert "remove constexpr on level_string_views to fix compilation on C++17 from addition of set_string_view"

This reverts commit ac3e26b0.
parent af0d805b
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
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;
......
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