fix errors introduced in refactor

This commit is contained in:
Moritz Kobitzsch
2016-08-12 17:04:40 +02:00
committed by Patrick Niklaus
parent e14bc30428
commit e8bae78749
5 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -323,7 +323,7 @@ trimLaneString(std::string lane_string, std::int32_t count_left, std::int32_t co
for (std::int32_t i = 0; i < count_left; ++i)
// this is adjusted for our fake pipe. The moment cucumber can handle multiple escaped
// pipes, the '&' part can be removed
if (lane_string[i] != '|' && lane_string[i] != '&')
if (lane_string[i] != '|')
{
sane = false;
break;
@@ -341,7 +341,7 @@ trimLaneString(std::string lane_string, std::int32_t count_left, std::int32_t co
itr != lane_string.rend() && itr != lane_string.rbegin() + count_right;
++itr)
{
if (*itr != '|' && *itr != '&')
if (*itr != '|')
{
sane = false;
break;