diff --git a/include/boost/config/detail/suffix.hpp b/include/boost/config/detail/suffix.hpp index c8a7aa3f..1bd57c13 100644 --- a/include/boost/config/detail/suffix.hpp +++ b/include/boost/config/detail/suffix.hpp @@ -1170,7 +1170,7 @@ namespace std{ using ::type_info; } #if !__has_include() # define BOOST_NO_CXX20_HDR_CONCEPTS #endif -#if !__has_include() +#if !__has_include() # define BOOST_NO_CXX20_HDR_RANGES #endif #if !__has_include() diff --git a/test/boost_no_cxx20_hdr_ranges.ipp b/test/boost_no_cxx20_hdr_ranges.ipp index 9021a436..939eb73e 100644 --- a/test/boost_no_cxx20_hdr_ranges.ipp +++ b/test/boost_no_cxx20_hdr_ranges.ipp @@ -87,7 +87,7 @@ namespace boost_no_cxx20_hdr_ranges { using std::ranges::crend; using std::ranges::size; using std::ranges::ssize; - using std::ranges::empty; + constexpr auto dummy = std::ranges::empty; // Would conflict with std::views::empty using std::ranges::data; using std::ranges::cdata; using std::ranges::subrange_kind;