summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/random.h
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-21 11:42:51 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-21 11:42:51 +0000
commitfc0a5a491a59213b8838171e4d1bb9383937466e (patch)
treee0fcc3fc22ca93cd08ba47eed8cde8517ea95df5 /libstdc++-v3/include/bits/random.h
parent80a26b8bdf415b234e3473f14741e11f3153c36c (diff)
downloadgcc-fc0a5a491a59213b8838171e4d1bb9383937466e.tar.gz
2009-04-21 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/39835 * include/bits/random.h: Avoid the badname __alpha (and, for consistency, __beta too). * include/bits/random.tcc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146516 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/random.h')
-rw-r--r--libstdc++-v3/include/bits/random.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libstdc++-v3/include/bits/random.h b/libstdc++-v3/include/bits/random.h
index 366105caa8f..425420607ce 100644
--- a/libstdc++-v3/include/bits/random.h
+++ b/libstdc++-v3/include/bits/random.h
@@ -3627,9 +3627,9 @@ namespace std
friend class gamma_distribution<_RealType>;
explicit
- param_type(_RealType __alpha = _RealType(1),
- _RealType __beta = _RealType(1))
- : _M_alpha(__alpha), _M_beta(__beta)
+ param_type(_RealType __alpha_val = _RealType(1),
+ _RealType __beta_val = _RealType(1))
+ : _M_alpha(__alpha_val), _M_beta(__beta_val)
{
_GLIBCXX_DEBUG_ASSERT(_M_alpha > _RealType(0));
_M_initialize();
@@ -3660,9 +3660,9 @@ namespace std
* @f$ \alpha @f$ and @f$ \beta @f$.
*/
explicit
- gamma_distribution(_RealType __alpha = _RealType(1),
- _RealType __beta = _RealType(1))
- : _M_param(__alpha, __beta)
+ gamma_distribution(_RealType __alpha_val = _RealType(1),
+ _RealType __beta_val = _RealType(1))
+ : _M_param(__alpha_val, __beta_val)
{ }
explicit