Use 'false' for a bool instead of '0'
[oota-llvm.git] / include / llvm / ADT / Statistic.h
index 26aac7bea6279fb8fb3ec5b345e6586908b3eb40..d98abc375e8ac3a232a1b353dcfcb1d9b08b95cf 100644 (file)
@@ -46,7 +46,7 @@ public:
   /// construct - This should only be called for non-global statistics.
   void construct(const char *name, const char *desc) {
     Name = name; Desc = desc;
-    Value = 0; Initialized = 0;
+    Value = 0; Initialized = false;
   }
 
   // Allow use of this class as the value itself.