Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55935 - sandbox/explore/boost/explore
From: jeff_at_[hidden]
Date: 2009-08-31 19:04:25


Author: jefffaust
Date: 2009-08-31 19:04:24 EDT (Mon, 31 Aug 2009)
New Revision: 55935
URL: http://svn.boost.org/trac/boost/changeset/55935

Log:
fix custom stream operator
Text files modified:
   sandbox/explore/boost/explore/manipulators.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/explore/boost/explore/manipulators.hpp
==============================================================================
--- sandbox/explore/boost/explore/manipulators.hpp (original)
+++ sandbox/explore/boost/explore/manipulators.hpp 2009-08-31 19:04:24 EDT (Mon, 31 Aug 2009)
@@ -75,11 +75,11 @@
                 }
             }
 
- container_common_stream_state* m_state;
+ mutable container_common_stream_state* m_state;
         };
 
         template<typename Elem, typename Tr>
- std::basic_ostream<Elem, Tr>& operator<<(std::basic_ostream<Elem, Tr>& ostr, handle_custom_stream& cs)
+ std::basic_ostream<Elem, Tr>& operator<<(std::basic_ostream<Elem, Tr>& ostr, const handle_custom_stream& cs)
         {
             container_common_stream_state* state = explore::get_stream_state<container_common_stream_state>(ostr);
             cs.m_state = state;


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