mirror of
https://github.com/boostorg/stl_interfaces.git
synced 2026-01-19 04:42:12 +00:00
Change the __GNUC__ >= 11 && __GNUC_MINOR__ >= 3 expression in one of the
tests to __GNUC__ == 11 && ...; the workaround is not needed for GCC 12.
This commit is contained in:
@@ -976,7 +976,7 @@ int main()
|
||||
// GCC's std::to_address() breaks the contiguous_iterator concept.
|
||||
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416
|
||||
#if !BOOST_STL_INTERFACES_USE_CONCEPTS || \
|
||||
defined(__GNUC__) && __GNUC__ >= 11 && __GNUC_MINOR__ >= 3
|
||||
defined(__GNUC__) && __GNUC__ == 11 && __GNUC_MINOR__ >= 3
|
||||
// data
|
||||
{
|
||||
BOOST_TEST(r.data() != nullptr);
|
||||
|
||||
Reference in New Issue
Block a user