diff --git a/src/hb-dsalgs.hh b/src/hb-dsalgs.hh index cb3057c54..6ccba158c 100644 --- a/src/hb-dsalgs.hh +++ b/src/hb-dsalgs.hh @@ -321,11 +321,6 @@ template <> struct hb_is_signed<__int8> { enum { value = true }; }; template static inline bool hb_in_range (T u, T lo, T hi) { - /* The sizeof() is here to force template instantiation. - * I'm sure there are better ways to do this but can't think of - * one right now. Declaring a variable won't work as HB_UNUSED - * is unusable on some platforms and unused types are less likely - * to generate a warning than unused variables. */ static_assert (!hb_is_signed::value, ""); /* The casts below are important as if T is smaller than int,