One more auto return type
This commit is contained in:
parent
5b33427f2c
commit
6916b77863
|
@ -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() */
|
||||
|
||||
|
|
Loading…
Reference in New Issue