[arrays] Remove unnecessary constructor from Supplier<>
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 17 Dec 2018 04:33:03 +0000 (23:33 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 17 Dec 2018 04:33:03 +0000 (23:33 -0500)
Looks like operator hb_array_t<> from vector works here. :)

src/hb-machinery.hh

index 2ccc094..94eabeb 100644 (file)
@@ -654,11 +654,6 @@ struct Supplier : hb_array_t<const Type>
     this->arrayZ = v.arrayZ;
     this->len = v.len;
   }
-  Supplier (const hb_vector_t<Type> &v)
-  {
-    this->arrayZ = (const Type *) v;
-    this->len = v.len;
-  }
 
   Supplier<Type> & operator += (unsigned int count)
   {