From 0654391abd9c0685e8887882654cce268a452c4e Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Mon, 5 Oct 2026 13:49:57 +0300 Subject: [PATCH] Fix clang-22 warning --- include/boost/pfr/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/pfr/config.hpp b/include/boost/pfr/config.hpp index 4912545f..26bc9988 100644 --- a/include/boost/pfr/config.hpp +++ b/include/boost/pfr/config.hpp @@ -58,7 +58,7 @@ #endif #ifndef BOOST_PFR_USE_CPP26 -#if __cpp_structured_bindings >= 202411L && __cpp_lib_forward_like >= 202207L +#if __cplusplus > 202302L && __cpp_structured_bindings >= 202411L && __cpp_lib_forward_like >= 202207L #define BOOST_PFR_USE_CPP26 1 #else #define BOOST_PFR_USE_CPP26 0