Replace string::push_back with string::operator+=.

[SVN r22905]
This commit is contained in:
Vladimir Prus
2004-05-24 05:02:17 +00:00
parent e1fa6f7a1d
commit cfb199f976

View File

@@ -328,8 +328,10 @@ namespace boost { namespace program_options {
string result;
if (s.find(prefix) == 0) {
for(string::size_type n = prefix.size(); n < s.size(); ++n)
{
result.push_back(tolower(s[n]));
{
// Intel-Win-7.1 does not understand
// push_back on string.
result += tolower(s[n]);
}
}
return result;