mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Minor clean up.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user