One more auto return type

This commit is contained in:
Behdad Esfahbod 2019-04-16 18:33:51 -04:00
parent 5b33427f2c
commit 6916b77863
1 changed files with 2 additions and 2 deletions

View File

@ -258,8 +258,8 @@ struct hb_is_iterator_of { enum {
template <typename Lhs, typename Rhs,
hb_enable_if (hb_is_iterator (Lhs))>
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() */