Merge pull request #1889 from stevenlunt/set_string_view

remove constexpr on level_string_views to fix compilation on C++17 fr…
pull/1891/head
Gabi Melman 4 years ago committed by GitHub
commit 1574b5b0a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,9 +10,6 @@
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…
Cancel
Save