Revert "[iter] Make operator bool explicit"

This reverts commit 66920a6bac.

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
This commit is contained in:
Behdad Esfahbod 2018-08-09 00:56:28 -07:00
parent e1a2354220
commit aa3b6017ed
1 changed files with 1 additions and 1 deletions

View File

@ -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)