Skip to content

Commit 25666a7

Browse files
author
Arthur O'Dwyer
committed
[libc++] Remove "pass by const value" in <random>. NFCI.
1 parent e95cd94 commit 25666a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/random

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4125,7 +4125,7 @@ inline _LIBCPP_INLINE_VISIBILITY double __libcpp_lgamma(double __d) {
41254125
}
41264126

41274127
template<class _IntType>
4128-
binomial_distribution<_IntType>::param_type::param_type(const result_type __t, const double __p)
4128+
binomial_distribution<_IntType>::param_type::param_type(result_type __t, double __p)
41294129
: __t_(__t), __p_(__p)
41304130
{
41314131
if (0 < __p_ && __p_ < 1)

0 commit comments

Comments
 (0)