diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2014-10-01 11:07:08 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2014-10-01 11:07:08 -0400 |
commit | c1e87442621beff98791ce56cfd1ccee506c4ee6 (patch) | |
tree | af7920b6dc8f7d90e9d9a202d42a2c3926506588 | |
parent | 80f77282264afb1356351024b1f062b2824bba3b (diff) |
Hide bubble-sort!
-rw-r--r-- | src/hb-private.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-private.hh b/src/hb-private.hh index d9b0860b..63ebc652 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -889,7 +889,7 @@ hb_in_ranges (T u, T lo1, T hi1, T lo2, T hi2, T lo3, T hi3) #define FLAG_RANGE(x,y) (ASSERT_STATIC_EXPR_ZERO ((x) < (y)) + FLAG(y+1) - FLAG(x)) -template <typename T, typename T2> inline void +template <typename T, typename T2> static inline void hb_bubble_sort (T *array, unsigned int len, int(*compar)(const T *, const T *), T2 *array2) { if (unlikely (!len)) |