提交 dd22c29f 编写于 作者: B Behdad Esfahbod

[set] Always check population before checking for equality

上级 2eb9bbd9
......@@ -380,9 +380,7 @@ struct hb_set_t
inline bool is_equal (const hb_set_t *other) const
{
if (population != (unsigned int) -1 &&
other->population != (unsigned int) -1 &&
population != other->population)
if (get_population () != other->get_population ())
return false;
unsigned int na = pages.len;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册