aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-10-30 15:47:39 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-10-30 15:47:39 +0000
commit5211593c58c15a2a011003fa55acc62422609107 (patch)
treee32466f3df5f1a448600dce1ec449799c2881993
parentf653eb0e44bd1b8bca92aefa4d92756e91581eec (diff)
downloadgcc-5211593c58c15a2a011003fa55acc62422609107.zip
gcc-5211593c58c15a2a011003fa55acc62422609107.tar.gz
gcc-5211593c58c15a2a011003fa55acc62422609107.tar.bz2
Fix typo in preprocessor check
* testsuite/util/testsuite_iterators.h: Fix typo in __cplusplus check. From-SVN: r277628
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_iterators.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 11cce35..ad73678 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2019-10-30 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/util/testsuite_iterators.h: Fix typo in __cplusplus check.
+
2019-10-29 Jonathan Wakely <jwakely@redhat.com>
* include/bits/range_access.h (ranges::disable_sized_range)
diff --git a/libstdc++-v3/testsuite/util/testsuite_iterators.h b/libstdc++-v3/testsuite/util/testsuite_iterators.h
index 70c1f9b..c5ae5b1 100644
--- a/libstdc++-v3/testsuite/util/testsuite_iterators.h
+++ b/libstdc++-v3/testsuite/util/testsuite_iterators.h
@@ -184,7 +184,7 @@ namespace __gnu_test
void operator,(const T&, const output_iterator_wrapper<U>&) = delete;
#endif
-#if __cplusplus >= 2011L
+#if __cplusplus >= 201103L
using std::remove_cv;
#else
template<typename T> struct remove_cv { typedef T type; };