summaryrefslogtreecommitdiff
path: root/thirdparty/harfbuzz/src/graph/gsubgpos-context.hh
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-18 00:43:49 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-18 00:43:49 +0200
commit09d1ebb7aed4de4cc63e88d8e89a56c647b0d902 (patch)
tree6554636c35a6a81e7be73b9ef72fcdc8496fc3be /thirdparty/harfbuzz/src/graph/gsubgpos-context.hh
parent04082597f90dcb624c6466a7e1f173489a8ec517 (diff)
parentec8084d87f273266c5d79d06c421b5167dd97f94 (diff)
Merge pull request #66004 from bruvzg/hb52
Update to version 5.2.0, add new Unicode 15 blocks and scripts.
Diffstat (limited to 'thirdparty/harfbuzz/src/graph/gsubgpos-context.hh')
-rw-r--r--thirdparty/harfbuzz/src/graph/gsubgpos-context.hh10
1 files changed, 2 insertions, 8 deletions
diff --git a/thirdparty/harfbuzz/src/graph/gsubgpos-context.hh b/thirdparty/harfbuzz/src/graph/gsubgpos-context.hh
index 49b24198ff..9fe9662e64 100644
--- a/thirdparty/harfbuzz/src/graph/gsubgpos-context.hh
+++ b/thirdparty/harfbuzz/src/graph/gsubgpos-context.hh
@@ -40,22 +40,16 @@ struct gsubgpos_graph_context_t
graph_t& graph;
unsigned lookup_list_index;
hb_hashmap_t<unsigned, graph::Lookup*> lookups;
- hb_vector_t<char*> buffers;
+
HB_INTERNAL gsubgpos_graph_context_t (hb_tag_t table_tag_,
graph_t& graph_);
- ~gsubgpos_graph_context_t ()
- {
- for (char* b : buffers)
- hb_free (b);
- }
-
HB_INTERNAL unsigned create_node (unsigned size);
void add_buffer (char* buffer)
{
- buffers.push (buffer);
+ graph.add_buffer (buffer);
}
private: