From cfb199f976443ce88d3fd29d054fc0222181db45 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 24 May 2004 05:02:17 +0000 Subject: [PATCH] Replace string::push_back with string::operator+=. [SVN r22905] --- src/parsers.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/parsers.cpp b/src/parsers.cpp index 78f0b25..f19fb4d 100644 --- a/src/parsers.cpp +++ b/src/parsers.cpp @@ -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;