mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 00:59:16 +01:00
Avoid a copy
This commit is contained in:
1 parent
2cfa55056c
commit
a69a6cb09e
1 file changed
+1
-1
@@ -557,7 +557,7 @@ struct tuple_delta_t
|
||||
}
|
||||
|
||||
result_t solutions = rebase_tent (*tent, axis_limit, axis_triple_distances);
|
||||
for (auto t : solutions)
|
||||
for (auto &t : solutions)
|
||||
{
|
||||
tuple_delta_t new_var = *this;
|
||||
if (t.second == Triple ())
|
||||
|
||||
Reference in new issue
Block a user