]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Sync __cpp_lib_ranges macro defined in ranges_cmp.h
authorPatrick Palka <ppalka@redhat.com>
Mon, 21 Jun 2021 13:45:31 +0000 (09:45 -0400)
committerPatrick Palka <ppalka@redhat.com>
Mon, 21 Jun 2021 13:45:31 +0000 (09:45 -0400)
r12-1606 bumped the value of __cpp_lib_ranges defined in <version>,
but this macro is also defined in <bits/range_cmp.h>, so it needs to
be updated there as well.

libstdc++-v3/ChangeLog:

* include/bits/ranges_cmp.h (__cpp_lib_ranges): Adjust value.

libstdc++-v3/include/bits/ranges_cmp.h

index f859a33b2c1abe19199ad93e420a9f814ce2eccd..1d7da30dddfe28a83d2c5345f9516482715601ad 100644 (file)
@@ -57,7 +57,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
 #ifdef __cpp_lib_concepts
 // Define this here, included by all the headers that need to define it.
-#define __cpp_lib_ranges 201911L
+#define __cpp_lib_ranges 202106L
 
 namespace ranges
 {