From 4e22c7e94102c9f00c32b8cb6aaa832f83909149 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 3 Nov 2010 15:47:12 -0400 Subject: [PATCH] Add comment --- src/hb-ot-layout-common-private.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index 2855425a7..9ff5ca975 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/src/hb-ot-layout-common-private.hh @@ -78,6 +78,9 @@ template struct RecordArrayOf : SortedArrayOf > { inline const Tag& get_tag (unsigned int i) const { + /* We cheat slightly and don't define separate Null objects + * for Record types. Instead, we return the correct Null(Tag) + * here. */ if (unlikely (i >= this->len)) return Null(Tag); return (*this)[i].tag; }