Initial implementation of ConstantRange support
[oota-llvm.git] / include / llvm / ADT / Statistic.h
index 453af34fe019d91020a1ac5f0bc9347ff5dd116a..8f6ed79da8fb4910e28b216d0e1f778f79899600 100644 (file)
@@ -52,7 +52,7 @@ protected:
   void destroy() const;
 
   // printValue - Overridden by template class to print out the value type...
-  virtual void printValue(ostream &o) const = 0;
+  virtual void printValue(std::ostream &o) const = 0;
 
   // hasSomeData - Return true if some data has been aquired.  Avoid printing
   // lots of zero counts.
@@ -65,7 +65,7 @@ template <typename DataType=unsigned>
 class Statistic : private StatisticBase {
   DataType Value;
 
-  virtual void printValue(ostream &o) const { o << Value; }
+  virtual void printValue(std::ostream &o) const { o << Value; }
   virtual bool hasSomeData() const { return Value != DataType(); }
 public:
   // Normal constructor, default initialize data item...