[thin_delta] Fix bug when comparing the mappings
This commit is contained in:
parent
09ce099c2f
commit
768bbd2715
@ -432,7 +432,8 @@ namespace local {
|
|||||||
mapping left_mapping;
|
mapping left_mapping;
|
||||||
mapping right_mapping;
|
mapping right_mapping;
|
||||||
|
|
||||||
while (left_it != left.end() && right_it != right.end()) {
|
while ((left_mapping.len_ || left_it != left.end()) &&
|
||||||
|
(right_mapping.len_ || right_it != right.end())) {
|
||||||
if (!left_mapping.len_ && left_it != left.end())
|
if (!left_mapping.len_ && left_it != left.end())
|
||||||
left_mapping = *left_it++;
|
left_mapping = *left_it++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user