Compare commits

...

3 Commits

Author SHA1 Message Date
Gabi Melman
100f30043f Update version.h 2021-03-25 21:00:48 +02:00
Gabi Melman
1574b5b0a2 Merge pull request #1889 from stevenlunt/set_string_view
remove constexpr on level_string_views to fix compilation on C++17 fr…
2021-03-25 20:59:37 +02:00
steven lunt
ac3e26b0ff remove constexpr on level_string_views to fix compilation on C++17 from addition of set_string_view 2021-03-24 18:20:08 -04:00
2 changed files with 1 additions and 4 deletions

View File

@@ -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;

View File

@@ -5,6 +5,6 @@
#define SPDLOG_VER_MAJOR 1
#define SPDLOG_VER_MINOR 8
#define SPDLOG_VER_PATCH 4
#define SPDLOG_VER_PATCH 5
#define SPDLOG_VERSION (SPDLOG_VER_MAJOR * 10000 + SPDLOG_VER_MINOR * 100 + SPDLOG_VER_PATCH)