Revert "[gsubgpos] Use swap instead of move"
This reverts commit 8a17cc4ecf
.
This commit is contained in:
parent
167b7c6046
commit
2764a61691
|
@ -1581,7 +1581,7 @@ static void context_closure_recurse_lookups (hb_closure_context_t *c,
|
||||||
|
|
||||||
covered_seq_indicies.add (seqIndex);
|
covered_seq_indicies.add (seqIndex);
|
||||||
if (has_pos_glyphs) {
|
if (has_pos_glyphs) {
|
||||||
hb_swap (c->push_cur_active_glyphs (), pos_glyphs);
|
c->push_cur_active_glyphs () = std::move (pos_glyphs);
|
||||||
} else {
|
} else {
|
||||||
c->push_cur_active_glyphs ().set (*c->glyphs);
|
c->push_cur_active_glyphs ().set (*c->glyphs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue