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

Revert "[iter] Make operator bool explicit"

This reverts commit 66920a6b.

Some of our bots (Oracle Studio and Apple gcc 4.2) do not allow
explicit except for constructors.

https://github.com/harfbuzz/harfbuzz/issues/1127
上级 e1a23542
......@@ -72,7 +72,7 @@ struct Iter<T *>
array (array_), length (length_) {}
/* Emptiness. */
explicit inline operator bool (void) const { return bool (length); }
inline operator bool (void) const { return bool (length); }
/* Current item. */
inline T &operator * (void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册