From 2a3fa3f82ffdb778a2d21fc01e859579161237c9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 16 Dec 2018 23:33:03 -0500 Subject: [PATCH] [arrays] Remove unnecessary constructor from Supplier<> Looks like operator hb_array_t<> from vector works here. :) --- src/hb-machinery.hh | 5 ----- 1 file changed, 5 deletions(-) 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) { -- 2.7.4