diff --git a/src/hb-algs.hh b/src/hb-algs.hh index 2526b3db5..cc37c073d 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -552,14 +552,14 @@ struct { template constexpr auto operator () (T&& a, T2&& b) const HB_AUTO_RETURN - (a <= b ? std::forward (a) : std::forward (b)) + (a <= b ? a : b) } HB_FUNCOBJ (hb_min); struct { template constexpr auto operator () (T&& a, T2&& b) const HB_AUTO_RETURN - (a >= b ? std::forward (a) : std::forward (b)) + (a >= b ? a : b) } HB_FUNCOBJ (hb_max); struct