|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76194 - trunk/boost/spirit/home/lex/lexer/lexertl
From: hartmut.kaiser_at_[hidden]
Date: 2011-12-26 13:59:50
Author: hkaiser
Date: 2011-12-26 13:59:50 EST (Mon, 26 Dec 2011)
New Revision: 76194
URL: http://svn.boost.org/trac/boost/changeset/76194
Log:
Spirit: added a missing typename
Text files modified:
trunk/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp 2011-12-26 13:59:50 EST (Mon, 26 Dec 2011)
@@ -898,7 +898,8 @@
std::basic_string<Char> guard(name_suffix);
guard += L<Char>(name_suffix[0] ? "_" : "");
guard += L<Char>(__DATE__ "_" __TIME__);
- std::basic_string<Char>::size_type p = guard.find_first_of(L<Char>(": "));
+ typename std::basic_string<Char>::size_type p =
+ guard.find_first_of(L<Char>(": "));
while (std::string::npos != p)
{
guard.replace(p, 1, L<Char>("_"));
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