]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/13290 ([3.3 only] gcc 3.3.x: simple typo in concept checking for...
authorChristopher Saunders <ctsa@u.washington.edu>
Thu, 4 Dec 2003 18:45:42 +0000 (18:45 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 4 Dec 2003 18:45:42 +0000 (18:45 +0000)
2003-12-04  Christopher Saunders  <ctsa@u.washington.edu>

PR libstdc++/13290
* include/bits/stl_algo.h (generate_n): Fix typo.

From-SVN: r74284

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

index 71b75b70389c532cb190b97a8ac8ef237e06c7f0..a8c8d6ffd0d33fc451e65ec7e1132fb164de1665 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-04  Christopher Saunders  <ctsa@u.washington.edu>
+
+       PR libstdc++/13290
+       * include/bits/stl_algo.h (generate_n): Fix typo.
+
 2003-12-03  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/bits/basic_ios.h (basic_ios::setstate): Revert.
index 3d22697225183858a6abeb6aaa9ab08aa5c54fae..808f4b81fdff88bbffd78456b81e06253ef95a4d 100644 (file)
@@ -948,7 +948,7 @@ namespace std
       // concept requirements
       __glibcpp_function_requires(_OutputIteratorConcept<_OutputIter,
             // "the type returned by a _Generator"
-            __typeof__(gen())>)
+            __typeof__(__gen())>)
 
       for ( ; __n > 0; --__n, ++__first)
        *__first = __gen();