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 committed 2018-08-09 00:56:28 -07:00
1 parent e1a2354220
commit aa3b6017ed
1 file changed
+1 -1
+1 -1
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)