]> 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, 20 Oct 2020 16:53:56 +0000 (17:53 +0100)
libstdc++-v3/ChangeLog:

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

(cherry picked from commit 5204cc561a8d3c1a671969715ceb507ece8edef7)

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

index 932ece555293ddf96f9fb638ac46b83a7c508b49..778a14be97f091b463f2af2ff32975eacff92b05 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.