From 243a5a6af2565937705d6bc20e65a62b686bb664 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 15 May 2019 19:03:59 -0700 Subject: [PATCH] [algs] Remove pair copy constructor Use default. --- src/hb-algs.hh | 1 - src/test-algs.cc | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-algs.hh b/src/hb-algs.hh index f0f13302a..f10e27939 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -215,7 +215,6 @@ struct hb_pair_t typedef hb_pair_t pair_t; hb_pair_t (T1 a, T2 b) : first (a), second (b) {} - hb_pair_t (const pair_t& o) : first (o.first), second (o.second) {} template xp = hb_pair_t (nullptr, 0); xp = hb_pair_t (nullptr, 1); + xp = hb_pair_t (nullptr, 1); return 0; }