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:
parent
e1a2354220
commit
aa3b6017ed
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue