[thin-delta] fix bug in earlier refactor

This commit is contained in:
Joe Thornber 2016-02-18 11:31:43 +00:00
parent 1f10017635
commit f193a70a31

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();