Changeset 44624


Ignore:
Timestamp:
Apr 20, 2008, 1:24:11 PM (10 years ago)
Author:
Hartmut Kaiser
Message:

Spirit.Lex: Worked around a problem related to HP-UX_ia64_aCC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_lexer.hpp

    r44608 r44624  
    6666            std::basic_string<Char> result(1, ch);
    6767            if (detail::must_escape(ch))
    68                 result.insert(0, 1, '\\');
     68            {
     69                typedef typename std::basic_string<Char>::size_type size_type;
     70                result.insert((size_type)0, 1, '\\');
     71            }
    6972            return result;
    7073        }
Note: See TracChangeset for help on using the changeset viewer.