Remove unused (and wrong as of a few commits ago) cmp() function
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 21 Feb 2015 09:41:08 +0000 (12:41 +0300)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 25 Feb 2015 23:43:34 +0000 (15:43 -0800)
src/hb-open-type-private.hh

index 2572b3e..0989a8b 100644 (file)
@@ -599,7 +599,6 @@ struct IntType
   inline bool operator == (const IntType<Type,Size> &o) const { return (Type) v == (Type) o.v; }
   inline bool operator != (const IntType<Type,Size> &o) const { return !(*this == o); }
   static inline int cmp (const IntType<Type,Size> *a, const IntType<Type,Size> *b) { return b->cmp (*a); }
-  inline int cmp (IntType<Type,Size> va) const { Type a = va; return cmp (va); }
   inline int cmp (Type a) const
   {
     Type b = v;