summaryrefslogtreecommitdiff
path: root/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-09-17 23:19:11 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-09-17 23:19:11 +0300
commitec8084d87f273266c5d79d06c421b5167dd97f94 (patch)
tree3e6fe0d41fcf4472955530c97b9c50e2a420c538 /thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
parent4ab3fdcda07bf700b33eb7c85f53826b2464c02f (diff)
HarfBuzz: Update to version 5.2.0, add new Unicode 15 blocks and scripts.
Diffstat (limited to 'thirdparty/harfbuzz/src/graph/gsubgpos-context.cc')
-rw-r--r--thirdparty/harfbuzz/src/graph/gsubgpos-context.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc b/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
index e0ff6ff85f..b2044426d4 100644
--- a/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
+++ b/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
@@ -33,8 +33,7 @@ gsubgpos_graph_context_t::gsubgpos_graph_context_t (hb_tag_t table_tag_,
: table_tag (table_tag_),
graph (graph_),
lookup_list_index (0),
- lookups (),
- buffers ()
+ lookups ()
{
if (table_tag_ != HB_OT_TAG_GPOS
&& table_tag_ != HB_OT_TAG_GSUB)
@@ -53,7 +52,7 @@ unsigned gsubgpos_graph_context_t::create_node (unsigned size)
if (!buffer)
return -1;
- buffers.push (buffer);
+ add_buffer (buffer);
return graph.new_node (buffer, buffer + size);
}