From 98eec3dd5f527cc562d98784429db0c7269e82a8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 9 May 2019 13:15:36 -0700 Subject: [PATCH] Add hb_pair_t(,) macro as alternative to hb_pair_t<,> Just so it's easier to use it in other macros. --- src/hb-algs.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-algs.hh b/src/hb-algs.hh index 53bfa1fc5..f211242db 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -222,6 +222,7 @@ struct hb_pair_t T1 first; T2 second; }; +#define hb_pair_t(T1,T2) hb_pair_t template static inline hb_pair_t hb_pair (T1&& a, T2&& b) { return hb_pair_t (a, b); }