From abcb365993ecec45295cda469c7f1fb423895517 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 21 Dec 2024 22:03:10 +0200 Subject: [PATCH] Use N=257 for all compilers lacking C++14 constexpr --- test/mp_find.cpp | 2 +- test/mp_find_if_q.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/mp_find.cpp b/test/mp_find.cpp index 5810f74..91cef39 100644 --- a/test/mp_find.cpp +++ b/test/mp_find.cpp @@ -57,7 +57,7 @@ int main() { using boost::mp11::mp_iota_c; -#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 ) +#if !defined( BOOST_MP11_HAS_CXX14_CONSTEXPR ) int const N = 257; diff --git a/test/mp_find_if_q.cpp b/test/mp_find_if_q.cpp index 232829f..360b266 100644 --- a/test/mp_find_if_q.cpp +++ b/test/mp_find_if_q.cpp @@ -58,7 +58,7 @@ int main() using boost::mp11::mp_bind_front; using boost::mp11::mp_less; -#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 ) +#if !defined( BOOST_MP11_HAS_CXX14_CONSTEXPR ) int const N = 257;