From 9b7cb137946013592c9a5a9f0a3464fb4613577b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 2 Nov 2018 12:00:55 -0400 Subject: [PATCH] Fixup --- src/hb-dsalgs.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-dsalgs.hh b/src/hb-dsalgs.hh index 2249e128d..c1b0a86a8 100644 --- a/src/hb-dsalgs.hh +++ b/src/hb-dsalgs.hh @@ -551,7 +551,7 @@ struct hb_array_t return arrayZ[i]; } - inline unsigned int get_size (void) { return len * sizeof (Type); } + inline unsigned int get_size (void) const { return len * sizeof (Type); } template inline operator T * (void) { return arrayZ; } template inline operator const T * (void) const { return arrayZ; }