From 11eb3e9af5dc3c9f6da812468a34847356f3af3c Mon Sep 17 00:00:00 2001 From: sairajat Date: Sun, 12 Feb 2017 16:23:23 -0500 Subject: [PATCH] Fix indentation --- source/base/parameter_handler.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/base/parameter_handler.cc b/source/base/parameter_handler.cc index 571df879f7..2e10b8dc00 100644 --- a/source/base/parameter_handler.cc +++ b/source/base/parameter_handler.cc @@ -468,10 +468,11 @@ namespace Patterns { std::string tmp(sequence); -// remove whitespace at beginning + // remove whitespace at beginning while ((tmp.length() != 0) && (std::isspace (tmp[0]))) - tmp.erase (0,1); // check the different possibilities + tmp.erase (0,1); + // check the different possibilities while (tmp.find('|') != std::string::npos) { if (test_string == std::string(tmp, 0, tmp.find('|'))) @@ -480,11 +481,11 @@ namespace Patterns tmp.erase (0, tmp.find('|')+1); }; -//remove whitespace at the end + //remove whitespace at the end while ((tmp.length() != 0) && (std::isspace (*(tmp.end()-1)))) tmp.erase (tmp.end()-1); -// check last choice, not finished by | + // check last choice, not finished by | if (test_string == tmp) return true; -- 2.39.5