Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65473 - sandbox/chrono/boost/chrono
From: vicente.botet_at_[hidden]
Date: 2010-09-20 00:26:30


Author: viboes
Date: 2010-09-20 00:26:25 EDT (Mon, 20 Sep 2010)
New Revision: 65473
URL: http://svn.boost.org/trac/boost/changeset/65473

Log:
Fix error as we can not have static double initialized on the declaration
Text files modified:
   sandbox/chrono/boost/chrono/duration.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/chrono/boost/chrono/duration.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/duration.hpp (original)
+++ sandbox/chrono/boost/chrono/duration.hpp 2010-09-20 00:26:25 EDT (Mon, 20 Sep 2010)
@@ -380,11 +380,11 @@
       static BOOST_CHRONO_CONSTEXPR Rep m_min_imp(boost::true_type) {return zero();}
   public:
       static BOOST_CHRONO_CONSTEXPR Rep zero() {return Rep(0);}
- static const Rep const_zero = Rep(0);
+ //~ static const Rep const_zero = Rep(0);
       static BOOST_CHRONO_CONSTEXPR Rep max BOOST_PREVENT_MACRO_SUBSTITUTION () {return (std::numeric_limits<Rep>::max)();}
- static const Rep const_max = integer_traits<Rep>::const_max;
+ //~ static const Rep const_max = integer_traits<Rep>::const_max;
       static BOOST_CHRONO_CONSTEXPR Rep min BOOST_PREVENT_MACRO_SUBSTITUTION () {return m_min_imp(boost::is_unsigned<Rep>());}
- static const Rep const_min = integer_traits<Rep>::const_min;
+ //~ static const Rep const_min = integer_traits<Rep>::const_min;
   };
 
 } // namespace chrono


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