Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86615 - trunk/libs/log/example/doc
From: andrey.semashev_at_[hidden]
Date: 2013-11-10 23:11:14


Author: andysem
Date: 2013-11-10 23:11:13 EST (Sun, 10 Nov 2013)
New Revision: 86615
URL: http://svn.boost.org/trac/boost/changeset/86615

Log:
Added a workaround for #9362. Still doesn't compile because of #9363.

Text files modified:
   trunk/libs/log/example/doc/extension_formatter_parser.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/log/example/doc/extension_formatter_parser.cpp
==============================================================================
--- trunk/libs/log/example/doc/extension_formatter_parser.cpp Sun Nov 10 21:25:58 2013 (r86614)
+++ trunk/libs/log/example/doc/extension_formatter_parser.cpp 2013-11-10 23:11:13 EST (Sun, 10 Nov 2013) (r86615)
@@ -69,7 +69,7 @@
     {
     }
 
- void operator() (logging::formatting_ostream& strm, logging::value_ref< point > const& value)
+ void operator() (logging::formatting_ostream& strm, logging::value_ref< point > const& value) const
     {
         if (value)
         {
@@ -81,7 +81,7 @@
     }
 
 private:
- boost::format m_format;
+ mutable boost::format m_format;
 };
 
 // Custom point formatter factory


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