From ac3e26b0ffeffe1f9b030fabdfcb124dc878480e Mon Sep 17 00:00:00 2001 From: steven lunt Date: Wed, 24 Mar 2021 18:20:08 -0400 Subject: [PATCH] remove constexpr on level_string_views to fix compilation on C++17 from addition of set_string_view --- include/spdlog/common-inl.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/spdlog/common-inl.h b/include/spdlog/common-inl.h index fad18bd8f..378efe60f 100644 --- a/include/spdlog/common-inl.h +++ b/include/spdlog/common-inl.h @@ -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;