Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65155 - sandbox/chrono/libs/chrono/example
From: vicente.botet_at_[hidden]
Date: 2010-08-31 15:42:50


Author: viboes
Date: 2010-08-31 15:42:49 EDT (Tue, 31 Aug 2010)
New Revision: 65155
URL: http://svn.boost.org/trac/boost/changeset/65155

Log:
Refactoring of lihtweight_stopwatch
Text files modified:
   sandbox/chrono/libs/chrono/example/specific_stopwatch_accumulator_example.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/chrono/libs/chrono/example/specific_stopwatch_accumulator_example.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/example/specific_stopwatch_accumulator_example.cpp (original)
+++ sandbox/chrono/libs/chrono/example/specific_stopwatch_accumulator_example.cpp 2010-08-31 15:42:49 EDT (Tue, 31 Aug 2010)
@@ -29,9 +29,9 @@
                                 int places, ostream_type & os, boost::system::error_code & ec)
         {
             if (&ec != &boost::system::throws) ec.clear();
- typedef typename Stopwatch::accumulator accumulator_t;
+ typedef typename Stopwatch::storage_type accumulator_t;
             typedef typename Stopwatch::duration duration_t;
- accumulator_t& acc = stopwatch_.accumulated();
+ accumulator_t& acc = stopwatch_.get_storage();
 
             boost::io::ios_flags_saver ifs( os );
             os.setf( std::ios_base::fixed, std::ios_base::floatfield );


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