From: Behdad Esfahbod Date: Mon, 17 Dec 2018 04:33:03 +0000 (-0500) Subject: [arrays] Remove unnecessary constructor from Supplier<> X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a3fa3f82ffdb778a2d21fc01e859579161237c9;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [arrays] Remove unnecessary constructor from Supplier<> Looks like operator hb_array_t<> from vector works here. :) --- diff --git a/src/hb-machinery.hh b/src/hb-machinery.hh index 2ccc094..94eabeb 100644 --- a/src/hb-machinery.hh +++ b/src/hb-machinery.hh @@ -654,11 +654,6 @@ struct Supplier : hb_array_t this->arrayZ = v.arrayZ; this->len = v.len; } - Supplier (const hb_vector_t &v) - { - this->arrayZ = (const Type *) v; - this->len = v.len; - } Supplier & operator += (unsigned int count) {