[algs] Remove unused hb_coerce()
This commit is contained in:
parent
5dc12d7d8d
commit
215a0afad1
|
@ -227,14 +227,6 @@ struct
|
||||||
}
|
}
|
||||||
HB_FUNCOBJ (hb_bool);
|
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
|
struct
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue