GCC 4.9.4: Keep template names unique (#5713)

Fixes #5712.
This commit is contained in:
Bastien Dejean authored and GitHub committed 2026-01-10 05:02:17 -07:00
1 parent 0f58c68c6e
commit 8f5abdc42f
2 files changed
+8 -8

No files matched your search

+7 -7
View File
@@ -320,13 +320,13 @@ struct tuple_delta_t
void copy_from (const tuple_delta_t& o, hb_alloc_pool_t *pool = nullptr)
{
axis_tuples = o.axis_tuples;
indices.allocate_from_pool (pool, o.indices);
deltas_x.allocate_from_pool (pool, o.deltas_x);
deltas_y.allocate_from_pool (pool, o.deltas_y);
compiled_tuple_header.allocate_from_pool (pool, o.compiled_tuple_header);
compiled_deltas.allocate_from_pool (pool, o.compiled_deltas);
compiled_peak_coords.allocate_from_pool (pool, o.compiled_peak_coords);
compiled_interm_coords.allocate_from_pool (pool, o.compiled_interm_coords);
indices.duplicate_vector_from_pool (pool, o.indices);
deltas_x.duplicate_vector_from_pool (pool, o.deltas_x);
deltas_y.duplicate_vector_from_pool (pool, o.deltas_y);
compiled_tuple_header.duplicate_vector_from_pool (pool, o.compiled_tuple_header);
compiled_deltas.duplicate_vector_from_pool (pool, o.compiled_deltas);
compiled_peak_coords.duplicate_vector_from_pool (pool, o.compiled_peak_coords);
compiled_interm_coords.duplicate_vector_from_pool (pool, o.compiled_interm_coords);
}
void remove_axis (hb_tag_t axis_tag)
+1 -1
View File
@@ -570,7 +570,7 @@ struct hb_vector_t
template <typename allocator_t>
HB_ALWAYS_INLINE_VECTOR_ALLOCS
bool allocate_from_pool (allocator_t *allocator, const hb_vector_t &other)
bool duplicate_vector_from_pool (allocator_t *allocator, const hb_vector_t &other)
{
if (unlikely (!allocate_from_pool (allocator, other.length, false)))
return false;