From aa3b6017ed71fc251522ff1bedcdae965b4c1c1c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 9 Aug 2018 00:56:28 -0700 Subject: [PATCH] Revert "[iter] Make operator bool explicit" This reverts commit 66920a6bace7c54c8166c4ed938b6ffc5fabcf2b. 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 --- src/hb-iter-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-iter-private.hh b/src/hb-iter-private.hh index 039a77348..410a50f94 100644 --- a/src/hb-iter-private.hh +++ b/src/hb-iter-private.hh @@ -72,7 +72,7 @@ struct Iter 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)