From 74addbecac3b8be699ac90b3853970f6c7efd0eb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 1 Apr 2019 14:17:09 -0700 Subject: [PATCH] [serialize] Add default template type to push() --- src/hb-serialize.hh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/hb-serialize.hh b/src/hb-serialize.hh index 451afc3..2b51f0f 100644 --- a/src/hb-serialize.hh +++ b/src/hb-serialize.hh @@ -152,7 +152,7 @@ struct hb_serialize_context_t link (); } - template + template Type *push () { object_t obj; @@ -218,6 +218,11 @@ struct hb_serialize_context_t assert (packed.tail ().head == tail); } + template + void add_link (T &ofs, objidx_t objidx, const void *base) + { + } + void link () { assert (!current.length); -- 2.7.4