]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix doxygen comment for std::any_of
authorNuno Lopes <nuno.lopes@ist.utl.pt>
Tue, 13 Oct 2020 19:21:55 +0000 (20:21 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 13 Oct 2020 19:21:55 +0000 (20:21 +0100)
libstdc++-v3/ChangeLog:

* include/bits/stl_algo.h (any_of): Fix incorrect description
in comment.

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

index 2478b5857c15e3a5e3bec49108e0fed6031da070..621c6331422e0cf23031b3492fca843da486b3fc 100644 (file)
@@ -471,7 +471,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     { return __last == _GLIBCXX_STD_A::find_if(__first, __last, __pred); }
 
   /**
-   *  @brief  Checks that a predicate is false for at least an element
+   *  @brief  Checks that a predicate is true for at least one element
    *          of a sequence.
    *  @ingroup non_mutating_algorithms
    *  @param  __first   An input iterator.