Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64342 - trunk/boost/optional
From: sebastian.redl_at_[hidden]
Date: 2010-07-25 18:21:46


Author: cornedbee
Date: 2010-07-25 18:21:45 EDT (Sun, 25 Jul 2010)
New Revision: 64342
URL: http://svn.boost.org/trac/boost/changeset/64342

Log:
Fully qualify ios flags. Fixes compilation of PropertyTree, bug 4459.
Text files modified:
   trunk/boost/optional/optional_io.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/optional/optional_io.hpp
==============================================================================
--- trunk/boost/optional/optional_io.hpp (original)
+++ trunk/boost/optional/optional_io.hpp 2010-07-25 18:21:45 EDT (Sun, 25 Jul 2010)
@@ -74,12 +74,12 @@
     else
     {
       if ( d != '-')
- in.setstate( ios::failbit );
+ in.setstate( std::ios::failbit );
         
       d = in.get();
       
       if ( d != '-')
- in.setstate( ios::failbit );
+ in.setstate( std::ios::failbit );
         
       v = optional<T>() ;
     }


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