Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57363 - branches/release/boost/math/policies
From: john_at_[hidden]
Date: 2009-11-04 12:06:58


Author: johnmaddock
Date: 2009-11-04 12:06:58 EST (Wed, 04 Nov 2009)
New Revision: 57363
URL: http://svn.boost.org/trac/boost/changeset/57363

Log:
Suppress msvc warnings.
Text files modified:
   branches/release/boost/math/policies/policy.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: branches/release/boost/math/policies/policy.hpp
==============================================================================
--- branches/release/boost/math/policies/policy.hpp (original)
+++ branches/release/boost/math/policies/policy.hpp 2009-11-04 12:06:58 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