Skip to content

Commit

Permalink
Merge pull request #1889 from stevenlunt/set_string_view
Browse files Browse the repository at this point in the history
remove constexpr on level_string_views to fix compilation on C++17 fr…
  • Loading branch information
gabime authored Mar 25, 2021
2 parents 012fe99 + ac3e26b commit 1574b5b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/spdlog/common-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1574b5b

Please sign in to comment.