|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80992 - trunk/boost/random/detail
From: steven_at_[hidden]
Date: 2012-10-15 15:10:34
Author: steven_watanabe
Date: 2012-10-15 15:10:33 EDT (Mon, 15 Oct 2012)
New Revision: 80992
URL: http://svn.boost.org/trac/boost/changeset/80992
Log:
Remove static. Fixes #7096
Text files modified:
trunk/boost/random/detail/large_arithmetic.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/random/detail/large_arithmetic.hpp
==============================================================================
--- trunk/boost/random/detail/large_arithmetic.hpp (original)
+++ trunk/boost/random/detail/large_arithmetic.hpp 2012-10-15 15:10:33 EDT (Mon, 15 Oct 2012)
@@ -31,9 +31,9 @@
inline div_t muldivmod(boost::uintmax_t a, boost::uintmax_t b, boost::uintmax_t m)
{
- static const int bits =
+ const int bits =
::std::numeric_limits< ::boost::uintmax_t>::digits / 2;
- static const ::boost::uintmax_t mask = (::boost::uintmax_t(1) << bits) - 1;
+ const ::boost::uintmax_t mask = (::boost::uintmax_t(1) << bits) - 1;
typedef ::boost::uint_t<bits>::fast digit_t;
int shift = std::numeric_limits< ::boost::uintmax_t>::digits - 1
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk