Make hb_in_range() static

This commit is contained in:
Behdad Esfahbod 2012-07-13 09:45:54 -04:00
parent 271c8f8907
commit b5aeb95afe
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ struct hb_auto_trace_t<0> {
* Checks for lo <= u <= hi but with an optimization if lo and hi
* are only different in a contiguous set of lower-most bits.
*/
template <typename T> inline bool
template <typename T> static inline bool
hb_in_range (T u, T lo, T hi)
{
if ( ((lo^hi) & lo) == 0 &&