From 8586e7a9cd5fb5f7b487261cba28f148a173ba58 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 24 Mar 2009 10:08:54 +0000 Subject: [PATCH] Patch for ICU on AIX. [SVN r51952] --- include/boost/regex/icu.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/regex/icu.hpp b/include/boost/regex/icu.hpp index 7af1d678..2cf37e5c 100644 --- a/include/boost/regex/icu.hpp +++ b/include/boost/regex/icu.hpp @@ -311,12 +311,12 @@ inline u32regex do_make_u32regex(InputIterator i, boost::regex_constants::syntax_option_type opt, const boost::mpl::int_<4>*) { - typedef std::vector vector_type; + typedef std::vector vector_type; vector_type v; while(i != j) { - v.push_back((UCHAR32)(*i)); - ++a; + v.push_back((UChar32)(*i)); + ++i; } if(v.size()) return u32regex(&*v.begin(), v.size(), opt);