Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85422 - trunk/boost/chrono/stopwatches/formatters
From: vicente.botet_at_[hidden]
Date: 2013-08-22 12:20:35


Author: viboes
Date: 2013-08-22 12:20:35 EDT (Thu, 22 Aug 2013)
New Revision: 85422
URL: http://svn.boost.org/trac/boost/changeset/85422

Log:
Chrono/Stopwatches: fix bad check when assignment was expected.

Text files modified:
   trunk/boost/chrono/stopwatches/formatters/base_formatter.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/chrono/stopwatches/formatters/base_formatter.hpp
==============================================================================
--- trunk/boost/chrono/stopwatches/formatters/base_formatter.hpp Thu Aug 22 10:36:22 2013 (r85421)
+++ trunk/boost/chrono/stopwatches/formatters/base_formatter.hpp 2013-08-22 12:20:35 EDT (Thu, 22 Aug 2013) (r85422)
@@ -48,7 +48,7 @@
       }
       void set_duration_style(duration_style style)
       {
- duration_style_ == style;
+ duration_style_ = style;
       }
 
     protected:


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