Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80950 - trunk/boost/chrono/io
From: vicente.botet_at_[hidden]
Date: 2012-10-10 19:24:25


Author: viboes
Date: 2012-10-10 19:24:24 EDT (Wed, 10 Oct 2012)
New Revision: 80950
URL: http://svn.boost.org/trac/boost/changeset/80950

Log:
Chrono: added forgotten fix for explicit bool conversion issue
Text files modified:
   trunk/boost/chrono/io/duration_io.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/chrono/io/duration_io.hpp
==============================================================================
--- trunk/boost/chrono/io/duration_io.hpp (original)
+++ trunk/boost/chrono/io/duration_io.hpp 2012-10-10 19:24:24 EDT (Wed, 10 Oct 2012)
@@ -185,7 +185,7 @@
       BOOST_TRY
       {
         typename std::basic_istream<CharT, Traits>::sentry ipfx(is);
- if (ipfx)
+ if (bool(ipfx))
         {
           if (!std::has_facet<duration_get<CharT> >(is.getloc()))
           {


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