mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 10:04:24 +01:00
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:
1 parent
e1a2354220
commit
aa3b6017ed
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user