Patch for ICU on AIX.

[SVN r51952]
This commit is contained in:
John Maddock
2009-03-24 10:08:54 +00:00
parent 356be46981
commit 8586e7a9cd

View File

@ -311,12 +311,12 @@ inline u32regex do_make_u32regex(InputIterator i,
boost::regex_constants::syntax_option_type opt, boost::regex_constants::syntax_option_type opt,
const boost::mpl::int_<4>*) const boost::mpl::int_<4>*)
{ {
typedef std::vector<UCHAR32> vector_type; typedef std::vector<UChar32> vector_type;
vector_type v; vector_type v;
while(i != j) while(i != j)
{ {
v.push_back((UCHAR32)(*i)); v.push_back((UChar32)(*i));
++a; ++i;
} }
if(v.size()) if(v.size())
return u32regex(&*v.begin(), v.size(), opt); return u32regex(&*v.begin(), v.size(), opt);