Minor clean up.

This commit is contained in:
Arthur Britto
2012-04-18 17:23:46 -07:00
parent b056eb887b
commit 9d55bec56e

View File

@@ -43,10 +43,7 @@ section ParseSection(const std::string strInput, const bool bTrim)
{ {
// Another line in a section. // Another line in a section.
if (bTrim) if (bTrim)
{ boost::algorithm::trim(strValue);
boost::algorithm::trim_right_if(strValue, boost::algorithm::is_space());
boost::algorithm::trim_left_if(strValue, boost::algorithm::is_space());
}
secResult[strSection].push_back(strValue); secResult[strSection].push_back(strValue);
} }