diff --git a/src/hb-algs.hh b/src/hb-algs.hh index df03b9729..118c421d7 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -482,6 +482,10 @@ struct hb_pair_t typedef T2 second_t; typedef hb_pair_t pair_t; + template ::value && + std::is_default_constructible::value)> + hb_pair_t () : first (), second () {} hb_pair_t (T1 a, T2 b) : first (a), second (b) {} template