From 15a69284369ce739e79bf288a55c4c3010313144 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 9 Jan 2019 00:36:47 -0800 Subject: [PATCH] [iter] Implement operator-> unconditionally The right condition to check for would have been "is_struct", which we don't have. --- src/hb-iter.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hb-iter.hh b/src/hb-iter.hh index 657e70727..06dd94a05 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -73,7 +73,6 @@ struct hb_iter_t iter_t iter () const { return *thiz(); } explicit_operator bool () const { return thiz()->__more__ (); } unsigned len () const { return thiz()->__len__ (); } - template hb_remove_reference (item_t)* operator -> () const { return hb_addressof (**thiz()); } item_t operator * () const { return thiz()->__item__ (); } item_t operator [] (unsigned i) const { return thiz()->__item_at__ (i); }