Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65079 - sandbox/chrono/libs/chrono/example
From: vicente.botet_at_[hidden]
Date: 2010-08-28 08:19:04


Author: viboes
Date: 2010-08-28 08:19:03 EDT (Sat, 28 Aug 2010)
New Revision: 65079
URL: http://svn.boost.org/trac/boost/changeset/65079

Log:
improve error code handling
Text files modified:
   sandbox/chrono/libs/chrono/example/specific_stopwatch_accumulator_example.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 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-28 08:19:03 EDT (Sat, 28 Aug 2010)
@@ -28,7 +28,7 @@
         static void show_time( Stopwatch & stopwatch_, const char_type* format,
                                 int places, ostream_type & os, boost::system::error_code & ec)
         {
- if (&ec != &system::throws) ec.clear();
+ if (&ec != &boost::system::throws) ec.clear();
             typedef typename Stopwatch::accumulator accumulator_t;
             typedef typename Stopwatch::duration duration_t;
             accumulator_t& acc = stopwatch_.accumulated();


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