operator bool()
[folly.git] / folly / detail / BitIteratorDetail.h
index eb8edcd6f67b7abb6d8240206dc5abbe0442f661..34ccb4bcced21a46d464bd95c6d17483997eaf27 100644 (file)
@@ -36,7 +36,7 @@ class BitReference {
  public:
   BitReference(Ref r, size_t bit) : ref_(r), bit_(bit) { }
 
-  operator bool() const {
+  /* implicit */ operator bool() const {
     return ref_ & (one_ << bit_);
   }