]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix a paste-o in ext/random.tcc - declared an Adapted urng that was not used ot needed.
authorEdward Smith-Rowland <3dw4rd@verizon.net>
Mon, 17 Sep 2012 03:46:40 +0000 (03:46 +0000)
committerEdward Smith-Rowland <emsr@gcc.gnu.org>
Mon, 17 Sep 2012 03:46:40 +0000 (03:46 +0000)
From-SVN: r191371

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/random.tcc

index 42ef92a6bd445ba2002b7b957a63a00eaac86a8f..128f7cb0805085232ca2598971af66b75fbd8f75 100644 (file)
@@ -1,3 +1,8 @@
+2012-09-16  Edward Smith-Rowland  <3dw4rd@verizon.net>
+
+       * include/ext/random.tcc (__gnu_cxx::rice_distribution<>
+       ::__generate_impl): Remove bogus _Adaptor usage.
+
 2012-09-16  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/ext/random (rice_distribution<>::operator==): Change
index 6aa049a4f87c1961ae57d5806f12486ed432605b..24735b411204edc25ee746f61c890d8d7d2d37d7 100644 (file)
@@ -762,9 +762,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       {
        __glibcxx_function_requires(_OutputIteratorConcept<_OutputIterator>)
 
-       std::__detail::_Adaptor<_UniformRandomNumberGenerator, result_type>
-         __aurng(__urng);
-
        while (__f != __t)
          {
            typename std::normal_distribution<result_type>::param_type