[iter] Disallow copy-construction or assignment of hb_iter_t<>
Should only be done by subclass.
This commit is contained in:
parent
65e8bd56ad
commit
5e1840e031
|
@ -105,6 +105,11 @@ struct hb_iter_t
|
|||
|
||||
/* Random access: Return true if len(), forward(), item_at() are fast. */
|
||||
bool __random_access__ () const { return false; }
|
||||
|
||||
protected:
|
||||
hb_iter_t () {}
|
||||
hb_iter_t (const hb_iter_t &o) {}
|
||||
void operator = (const hb_iter_t &o) {}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue