From f0e1e86d226c40d8f13f1abd1f8fac7017075000 Mon Sep 17 00:00:00 2001
From: Edward Smith-Rowland <3dw4rd@verizon.net>
Date: Mon, 17 Sep 2012 03:46:40 +0000
Subject: [PATCH] Fix a paste-o in ext/random.tcc - declared an Adapted urng
 that was not used ot needed.

From-SVN: r191371
---
 libstdc++-v3/ChangeLog              | 5 +++++
 libstdc++-v3/include/ext/random.tcc | 3 ---
 2 files changed, 5 insertions(+), 3 deletions(-)

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  <paolo.carlini@oracle.com>
 
 	* 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<result_type>::param_type
-- 
GitLab