mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[graph] Error check
This commit is contained in:
parent
7a9aac1ae3
commit
07e7033076
1 changed files with 2 additions and 1 deletions
|
@ -280,7 +280,8 @@ struct graph_t
|
|||
for (auto _ : parents)
|
||||
new_parents.set (id_map[_.first], _.second);
|
||||
|
||||
parents = std::move (new_parents);
|
||||
if (!new_parents.in_error ())
|
||||
parents = std::move (new_parents);
|
||||
}
|
||||
|
||||
void remap_parent (unsigned old_index, unsigned new_index)
|
||||
|
|
Loading…
Add table
Reference in a new issue