From 1358eafb64410670144282273231c01373992e65 Mon Sep 17 00:00:00 2001 From: "M. Galib Uludag" Date: Fri, 31 Mar 2023 13:12:51 +0200 Subject: [PATCH] fix consteval macro --- include/spdlog/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 5bbf00bd..00e73ee0 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -121,9 +121,9 @@ #if SPDLOG_CPLUSPLUS > 201703L #define SPDLOG_CONSTEVAL consteval #elif SPDLOG_CPLUSPLUS < 201402L -#define SPDLOG_CONSTEVAL constexpr -#else #define SPDLOG_CONSTEVAL +#else +#define SPDLOG_CONSTEVAL constexpr #endif namespace spdlog {