[libcxx-commits] [libcxx] 25666a7 - [libc++] Remove "pass by const value" in <random>. NFCI.
Arthur O'Dwyer via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 26 13:42:00 PDT 2021
Author: Arthur O'Dwyer
Date: 2021-07-26T16:41:20-04:00
New Revision: 25666a74c5af05ae6b189ad4f7382d351fb8698f
URL: https://github.com/llvm/llvm-project/commit/25666a74c5af05ae6b189ad4f7382d351fb8698f
DIFF: https://github.com/llvm/llvm-project/commit/25666a74c5af05ae6b189ad4f7382d351fb8698f.diff
LOG: [libc++] Remove "pass by const value" in <random>. NFCI.
Added:
Modified:
libcxx/include/random
Removed:
################################################################################
diff --git a/libcxx/include/random b/libcxx/include/random
index 3ef246b7c8f7..85d03ee039f1 100644
--- a/libcxx/include/random
+++ b/libcxx/include/random
@@ -4125,7 +4125,7 @@ inline _LIBCPP_INLINE_VISIBILITY double __libcpp_lgamma(double __d) {
}
template<class _IntType>
-binomial_distribution<_IntType>::param_type::param_type(const result_type __t, const double __p)
+binomial_distribution<_IntType>::param_type::param_type(result_type __t, double __p)
: __t_(__t), __p_(__p)
{
if (0 < __p_ && __p_ < 1)
More information about the libcxx-commits
mailing list