|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57354 - trunk/boost/math/policies
From: john_at_[hidden]
Date: 2009-11-04 07:15:06
Author: johnmaddock
Date: 2009-11-04 07:15:05 EST (Wed, 04 Nov 2009)
New Revision: 57354
URL: http://svn.boost.org/trac/boost/changeset/57354
Log:
remove surplus const-qualifiers.
Text files modified:
trunk/boost/math/policies/policy.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/math/policies/policy.hpp
==============================================================================
--- trunk/boost/math/policies/policy.hpp (original)
+++ trunk/boost/math/policies/policy.hpp 2009-11-04 07:15:05 EST (Wed, 04 Nov 2009)
@@ -859,7 +859,7 @@
template <class T, class Digits, class Small, class Default>
struct series_factor_calc
{
- static const T get()
+ static T get()
{
return ldexp(T(1.0), 1 - Digits::value);
}
@@ -868,7 +868,7 @@
template <class T, class Digits>
struct series_factor_calc<T, Digits, mpl::true_, mpl::true_>
{
- static const T get()
+ static T get()
{
return boost::math::tools::epsilon<T>();
}
@@ -876,7 +876,7 @@
template <class T, class Digits>
struct series_factor_calc<T, Digits, mpl::true_, mpl::false_>
{
- static const T get()
+ static T get()
{
static const boost::uintmax_t v = static_cast<boost::uintmax_t>(1u) << (Digits::value - 1);
return 1 / static_cast<T>(v);
@@ -885,7 +885,7 @@
template <class T, class Digits>
struct series_factor_calc<T, Digits, mpl::false_, mpl::true_>
{
- static const T get()
+ static T get()
{
return boost::math::tools::epsilon<T>();
}
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