Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54673 - trunk/boost/spirit/home/support/iterators
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-05 11:42:28


Author: hkaiser
Date: 2009-07-05 11:42:27 EDT (Sun, 05 Jul 2009)
New Revision: 54673
URL: http://svn.boost.org/trac/boost/changeset/54673

Log:
Spirit: fixed multi_pass workaround for older gcc
Text files modified:
   trunk/boost/spirit/home/support/iterators/multi_pass.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/iterators/multi_pass.hpp
==============================================================================
--- trunk/boost/spirit/home/support/iterators/multi_pass.hpp (original)
+++ trunk/boost/spirit/home/support/iterators/multi_pass.hpp 2009-07-05 11:42:27 EDT (Sun, 05 Jul 2009)
@@ -80,7 +80,7 @@
         // checking code that isn't required by the standard.
         // The workaround is to provide an additional constructor that
         // ignores its int argument and behaves like the default constructor.
- multi_pass(int) : member(0) {}
+ multi_pass(int) : member_base((shared_data_type*)0) {}
 #endif // BOOST_WORKAROUND(__GLIBCPP__, == 20020514)
 
         ~multi_pass()


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