diff options
| author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 20:22:25 +0000 |
|---|---|---|
| committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 20:22:25 +0000 |
| commit | f1c0d920e3a308f5dd3cee9504ecc257ca0a4505 (patch) | |
| tree | bd5c326fc6c4f29cc7eb13fc5a71260b894659fa /llvm/include/Support/StatisticReporter.h | |
| parent | 55d3b0d266fe093e694e44fd35c3a7118fbef545 (diff) | |
| download | bcm5719-llvm-f1c0d920e3a308f5dd3cee9504ecc257ca0a4505.tar.gz bcm5719-llvm-f1c0d920e3a308f5dd3cee9504ecc257ca0a4505.zip | |
changes to make it compatible with 64bit gcc
llvm-svn: 2786
Diffstat (limited to 'llvm/include/Support/StatisticReporter.h')
| -rw-r--r-- | llvm/include/Support/StatisticReporter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/Support/StatisticReporter.h b/llvm/include/Support/StatisticReporter.h index 453af34fe01..8f6ed79da8f 100644 --- a/llvm/include/Support/StatisticReporter.h +++ b/llvm/include/Support/StatisticReporter.h @@ -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... |

