include glog for CHECK_EQ
[folly.git] / folly / detail / BitIteratorDetail.h
index 3cb240004239bb437a93af9521ea18625c351d92..e8a0b38d8e0f5e4d3287ccd28660a8bb9a7ef8ee 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2012 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -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_);
   }
 
@@ -90,4 +90,3 @@ struct BitIteratorBase {
 }  // namespace folly
 
 #endif /* FOLLY_DETAIL_BITITERATORDETAIL_H_ */
-