From: Edward Smith-Rowland <3dw4rd@verizon.net> Date: Mon, 17 Sep 2012 03:46:40 +0000 (+0000) Subject: Fix a paste-o in ext/random.tcc - declared an Adapted urng that was not used ot needed. X-Git-Tag: misc/gccgo-go1_1_2~826 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0e1e86d226c40d8f13f1abd1f8fac7017075000;p=thirdparty%2Fgcc.git Fix a paste-o in ext/random.tcc - declared an Adapted urng that was not used ot needed. From-SVN: r191371 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 42ef92a6bd44..128f7cb08050 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 * include/ext/random (rice_distribution<>::operator==): Change diff --git a/libstdc++-v3/include/ext/random.tcc b/libstdc++-v3/include/ext/random.tcc index 6aa049a4f87c..24735b411204 100644 --- a/libstdc++-v3/include/ext/random.tcc +++ b/libstdc++-v3/include/ext/random.tcc @@ -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::param_type