Fix unused-variable warnings

inline variables are not C++11, so mark them unused...
This commit is contained in:
Behdad Esfahbod 2019-01-09 16:19:40 -08:00
parent f4cbb1ee0c
commit 463cfb426f
1 changed files with 2 additions and 2 deletions

View File

@ -53,13 +53,13 @@ struct hb_pair_t
template <typename T1, typename T2> static inline hb_pair_t<T1, T2>
hb_pair (T1 a, T2 b) { return hb_pair_t<T1, T2> (a, b); }
static struct
static HB_UNUSED struct
{
template <typename Pair> typename Pair::first_t
operator () (const Pair& pair) const { return pair.first; }
} hb_first;
static struct
static HB_UNUSED struct
{
template <typename Pair> typename Pair::second_t
operator () (const Pair& pair) const { return pair.second; }