From 6916b77863cd5ce492a274eb85f196f2152fbb96 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 16 Apr 2019 18:33:51 -0400 Subject: [PATCH] One more auto return type --- src/hb-iter.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-iter.hh b/src/hb-iter.hh index 38d477027..a4ffbd6f0 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -258,8 +258,8 @@ struct hb_is_iterator_of { enum { template -static inline decltype (hb_declval (Rhs) (hb_declval (Lhs))) -operator | (Lhs lhs, const Rhs &rhs) { return rhs (lhs); } +static inline auto +operator | (Lhs lhs, const Rhs &rhs) HB_AUTO_RETURN (rhs (lhs)) /* hb_map(), hb_filter(), hb_reduce() */