summaryrefslogtreecommitdiff
path: root/include/random
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2017-09-20 19:38:43 +0000
committerMarshall Clow <mclow.lists@gmail.com>2017-09-20 19:38:43 +0000
commit1e32db7b33e5341b02751f6f3e510393e557d77c (patch)
tree11695d924d96e2bed322f0587673289d933bb840 /include/random
parent9641305bbaa1c77f4ea68d2f121a5fd6fc4b3b3a (diff)
Revert 313789 because gcc doesn't like it
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@313803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/random')
-rw-r--r--include/random8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/random b/include/random
index 85a1cca5d..9073a5285 100644
--- a/include/random
+++ b/include/random
@@ -3124,8 +3124,8 @@ public:
private:
_LIBCPP_INLINE_VISIBILITY
- result_type __eval(false_type) const;
- result_type __eval(true_type) const;
+ result_type __eval(false_type);
+ result_type __eval(true_type);
template <size_t __count>
_LIBCPP_INLINE_VISIBILITY
@@ -3151,14 +3151,14 @@ private:
template<class _Engine, size_t __w, class _UIntType>
inline
_UIntType
-independent_bits_engine<_Engine, __w, _UIntType>::__eval(false_type) const
+independent_bits_engine<_Engine, __w, _UIntType>::__eval(false_type)
{
return static_cast<result_type>(__e_() & __mask0);
}
template<class _Engine, size_t __w, class _UIntType>
_UIntType
-independent_bits_engine<_Engine, __w, _UIntType>::__eval(true_type) const
+independent_bits_engine<_Engine, __w, _UIntType>::__eval(true_type)
{
result_type _Sp = 0;
for (size_t __k = 0; __k < __n0; ++__k)