Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66823 - trunk/boost/spirit/home/lex/lexer
From: hartmut.kaiser_at_[hidden]
Date: 2010-11-28 11:24:36


Author: hkaiser
Date: 2010-11-28 11:24:31 EST (Sun, 28 Nov 2010)
New Revision: 66823
URL: http://svn.boost.org/trac/boost/changeset/66823

Log:
Spirit: fixing shadowed template parameter
Text files modified:
   trunk/boost/spirit/home/lex/lexer/string_token_def.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/spirit/home/lex/lexer/string_token_def.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/string_token_def.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/string_token_def.hpp 2010-11-28 11:24:31 EST (Sun, 28 Nov 2010)
@@ -66,9 +66,9 @@
           , token_state_(std::size_t(~0))
         {}
 
- template <typename LexerDef, typename String>
- void collect(LexerDef& lexdef, String const& state
- , String const& targetstate) const
+ template <typename LexerDef, typename String_>
+ void collect(LexerDef& lexdef, String_ const& state
+ , String_ const& targetstate) const
         {
             std::size_t state_id = lexdef.add_state(state.c_str());
 


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