提交 463cfb42 编写于 作者: B Behdad Esfahbod

Fix unused-variable warnings

inline variables are not C++11, so mark them unused...
上级 f4cbb1ee
......@@ -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; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册