Commit 51e4e490 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

remove unnecessary test

parent d9e6985e
......@@ -123,10 +123,6 @@ NativeStatement::computingPass()
}
lastidx = apostrophes[i];
}
//Replace last (or only) element
if (apostrophes.empty())
lastidx = 0;
newstr.append(regex_replace(native_statement.substr(lastidx, native_statement.size() - lastidx),
date_expr, format));
native_statement = newstr;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment