Removed erroneous charT references.

[SVN r26759]
This commit is contained in:
John Maddock
2005-01-20 11:10:28 +00:00
parent 018fbfec05
commit ca338db5ae

View File

@ -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