diff --git a/src/hb-iter.hh b/src/hb-iter.hh index fe279dd96..465929f75 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -383,11 +383,12 @@ struct hb_sink_t private: Sink s; }; -template -inline hb_sink_t -hb_sink (Sink&& s) -{ return hb_sink_t (s); } - +static const struct +{ + template hb_sink_t + operator () (Sink&& s) const + { return hb_sink_t (s); } +} hb_sink HB_UNUSED; /*