Remove stale comment
This commit is contained in:
parent
d14d2c20b0
commit
21ea1c9152
|
@ -321,11 +321,6 @@ template <> struct hb_is_signed<__int8> { enum { value = true }; };
|
||||||
template <typename T> static inline bool
|
template <typename T> static inline bool
|
||||||
hb_in_range (T u, T lo, T hi)
|
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<T>::value, "");
|
static_assert (!hb_is_signed<T>::value, "");
|
||||||
|
|
||||||
/* The casts below are important as if T is smaller than int,
|
/* The casts below are important as if T is smaller than int,
|
||||||
|
|
Loading…
Reference in New Issue