Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68085 - trunk/libs/chrono/example
From: vicente.botet_at_[hidden]
Date: 2011-01-13 01:03:13


Author: viboes
Date: 2011-01-13 01:03:12 EST (Thu, 13 Jan 2011)
New Revision: 68085
URL: http://svn.boost.org/trac/boost/changeset/68085

Log:
Boost.Chrono: Update breaking change

 Test output: Sandia-darwin-4.0.1 - chrono - saturating_header / darwin-4.0.1
Rev 68077 / Thu, 13 Jan 2011 01:52:53 +0000
Report Time: Thu, 13 Jan 2011 04:05:07 +0000

Compile [2011-01-13 02:43:47 UTC]: fail

    "/usr/bin/g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -fPIC -Wextra -Wno-long-long -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_INLINED -DBOOST_CHRONO_USES_MPL_ASSERT -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -I".." -c -o "/Volumes/Scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/test/saturating_header.test/darwin-4.0.1/debug/saturating.o" "../libs/chrono/test/../example/saturating.cpp"

../libs/chrono/test/../example/saturating.cpp:146: error: expected type-specifier

TinyUrl
Text files modified:
   trunk/libs/chrono/example/saturating.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/chrono/example/saturating.cpp
==============================================================================
--- trunk/libs/chrono/example/saturating.cpp (original)
+++ trunk/libs/chrono/example/saturating.cpp 2011-01-13 01:03:12 EST (Thu, 13 Jan 2011)
@@ -143,7 +143,7 @@
 };
 
 template <class I>
-saturate<I>::operator saturate<I>::int_type() const
+saturate<I>::operator I() const
 {
     switch (i_)
     {


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