Fix replacement in TestExprEngine

This commit is contained in:
Daniel Marjamäki 2020-05-13 09:56:21 +02:00
parent 0c97625aa0
commit 4afaff059b
1 changed files with 2 additions and 2 deletions

View File

@ -121,8 +121,8 @@ private:
line.erase(0,8); line.erase(0,8);
line.erase(line.size()-1); line.erase(line.size()-1);
} }
replace(line, "(fp.gt ", "(>"); replace(line, "(fp.gt ", "(> ");
replace(line, "(fp.lt ", "(<"); replace(line, "(fp.lt ", "(< ");
int par = 0; int par = 0;
for (int pos = 0; pos < line.size(); ++pos) { for (int pos = 0; pos < line.size(); ++pos) {
if (line[pos] == '(') if (line[pos] == '(')