Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54220 - trunk/boost/wave/cpplexer
From: hartmut.kaiser_at_[hidden]
Date: 2009-06-22 15:44:17


Author: hkaiser
Date: 2009-06-22 15:44:16 EDT (Mon, 22 Jun 2009)
New Revision: 54220
URL: http://svn.boost.org/trac/boost/changeset/54220

Log:
Wave: adjustments for recent multi_pass changes
Text files modified:
   trunk/boost/wave/cpplexer/cpp_lex_iterator.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/wave/cpplexer/cpp_lex_iterator.hpp
==============================================================================
--- trunk/boost/wave/cpplexer/cpp_lex_iterator.hpp (original)
+++ trunk/boost/wave/cpplexer/cpp_lex_iterator.hpp 2009-06-22 15:44:16 EDT (Mon, 22 Jun 2009)
@@ -77,7 +77,7 @@
     template <typename MultiPass>
     static result_type& get_next(MultiPass& mp, result_type& result)
     {
- return mp.shared->ftor->get(result);
+ return mp.shared()->ftor->get(result);
     }
 
     // this will be called whenever the last reference to a multi_pass will
@@ -85,19 +85,19 @@
     template <typename MultiPass>
     static void destroy(MultiPass& mp)
     {
- delete mp.shared->ftor;
+ delete mp.shared()->ftor;
     }
 
     template <typename MultiPass>
     static void set_position(MultiPass& mp, position_type const &pos)
     {
- mp.shared->ftor->set_position(pos);
+ mp.shared()->ftor->set_position(pos);
     }
 #if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0
     template <typename MultiPass>
     static bool has_include_guards(MultiPass& mp, std::string& guard_name)
     {
- return mp.shared->ftor->has_include_guards(guard_name);
+ return mp.shared()->ftor->has_include_guards(guard_name);
     }
 #endif
 };


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