Fix bad comment copy/paste

Message ID c6b32e9f-fa55-2134-e361-6bb7313ae265@gmail.com
State New
Headers show
Series
  • Fix bad comment copy/paste
Related show

Commit Message

François Dumont July 26, 2019, 5:06 a.m.
Committed as trivial.

     * testsuite/util/testsuite_iterators.h
     (bidirectional_iterator_wrapper): Fix type comment.
     (random_access_iterator_wrapper): Likewise.

François

Patch

diff --git a/libstdc++-v3/testsuite/util/testsuite_iterators.h b/libstdc++-v3/testsuite/util/testsuite_iterators.h
index ac646a59cb8..42e42740df9 100644
--- a/libstdc++-v3/testsuite/util/testsuite_iterators.h
+++ b/libstdc++-v3/testsuite/util/testsuite_iterators.h
@@ -344,7 +344,7 @@  namespace __gnu_test
    * @brief bidirectional_iterator wrapper for pointer
    *
    * This class takes a pointer and wraps it to provide exactly
-   * the requirements of a forward_iterator. It should not be
+   * the requirements of a bidirectional_iterator. It should not be
    * instantiated directly, but generated from a test_container
    */
   template<class T>
@@ -408,7 +408,7 @@  namespace __gnu_test
    * @brief random_access_iterator wrapper for pointer
    *
    * This class takes a pointer and wraps it to provide exactly
-   * the requirements of a forward_iterator. It should not be
+   * the requirements of a random_access_iterator. It should not be
    * instantiated directly, but generated from a test_container
    */
   template<class T>