mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 13:26:38 +02:00
Removed erroneous charT references.
[SVN r26759]
This commit is contained in:
@ -178,7 +178,7 @@ c_regex_traits<wchar_t>::string_type BOOST_REGEX_CALL c_regex_traits<wchar_t>::l
|
|||||||
std::string name(p1, p2);
|
std::string name(p1, p2);
|
||||||
#else
|
#else
|
||||||
std::string name;
|
std::string name;
|
||||||
const charT* p0 = p1;
|
const wchar_t* p0 = p1;
|
||||||
while(p0 != p2)
|
while(p0 != p2)
|
||||||
name.append(1, char(*p0++));
|
name.append(1, char(*p0++));
|
||||||
#endif
|
#endif
|
||||||
@ -196,7 +196,7 @@ c_regex_traits<wchar_t>::string_type BOOST_REGEX_CALL c_regex_traits<wchar_t>::l
|
|||||||
iter b = name.begin();
|
iter b = name.begin();
|
||||||
iter e = name.end();
|
iter e = name.end();
|
||||||
while(b != e)
|
while(b != e)
|
||||||
result.append(1, charT(*b++));
|
result.append(1, wchar_t(*b++));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user