[algs] Remove unused hb_coerce()

This commit is contained in:
Behdad Esfahbod 2022-06-03 01:48:46 -06:00
parent 5dc12d7d8d
commit 215a0afad1
1 changed files with 0 additions and 8 deletions

View File

@ -227,14 +227,6 @@ struct
}
HB_FUNCOBJ (hb_bool);
template <typename T>
static inline
constexpr T hb_coerce (const T v) { return v; }
template <typename T, typename V,
hb_enable_if (!hb_is_same (hb_decay<T>, hb_decay<V>) && std::is_pointer<V>::value)>
static inline
constexpr T hb_coerce (const V v) { return *v; }
struct
{
private: