[thin-delta] fix bug in earlier refactor

This commit is contained in:
Joe Thornber 2016-02-18 11:31:43 +00:00
parent 2461cdce43
commit a21cee55c7

View File

@ -498,11 +498,13 @@ namespace local {
while (ls.more_mappings()) {
auto &lm = ls.get_mapping();
e.left_only(lm.vbegin_, lm.dbegin_, lm.len_);
ls.consume(lm.len_);
}
while (rs.more_mappings()) {
auto &rm = rs.get_mapping();
e.right_only(rm.vbegin_, rm.dbegin_, rm.len_);
rs.consume(rm.len_);
}
e.complete();