From 8d94e84814fcaef371d0ec89ddd8ca954b9412a1 Mon Sep 17 00:00:00 2001 From: "M. Galib Uludag" Date: Thu, 25 May 2023 19:10:36 +0000 Subject: [PATCH] consteval fix --- 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 6ca84711..df6aed60 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -112,8 +112,8 @@ catch (const std::exception &) {} #endif -#if SPDLOG_CPLUSPLUS >= 202002L -# if __cpp_consteval >= 202211L +#if SPDLOG_CPLUSPLUS > 201703L +# if __cpp_consteval >= 201811L # define SPDLOG_CONSTEVAL consteval # else # define SPDLOG_CONSTEVAL constexpr