From 9d55bec56efd6ebc073b3bc04df12c7a9a4acbb4 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Wed, 18 Apr 2012 17:23:46 -0700 Subject: [PATCH] Minor clean up. --- src/ParseSection.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ParseSection.cpp b/src/ParseSection.cpp index 3fe6efbc3f..04da0eeb43 100644 --- a/src/ParseSection.cpp +++ b/src/ParseSection.cpp @@ -43,10 +43,7 @@ section ParseSection(const std::string strInput, const bool bTrim) { // Another line in a section. if (bTrim) - { - boost::algorithm::trim_right_if(strValue, boost::algorithm::is_space()); - boost::algorithm::trim_left_if(strValue, boost::algorithm::is_space()); - } + boost::algorithm::trim(strValue); secResult[strSection].push_back(strValue); }