diff options
| author | Alan Conway <aconway@apache.org> | 2010-04-07 19:59:20 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-04-07 19:59:20 +0000 |
| commit | 14a3b94becebf01ad27daca7f3d1ec8a333b2f9b (patch) | |
| tree | 9e7f9104db64152f39b060beb508cbd70bcfa7b5 /cpp/src/tests/Statistics.h | |
| parent | 36bb85318aeb0351dfb45443bdcd33e53da781af (diff) | |
| download | qpid-python-14a3b94becebf01ad27daca7f3d1ec8a333b2f9b.tar.gz | |
Fix compiler warnings "virtual function but no virtual destructor".
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931660 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/Statistics.h')
| -rw-r--r-- | cpp/src/tests/Statistics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/tests/Statistics.h b/cpp/src/tests/Statistics.h index 5c5b21c49c..def37b7424 100644 --- a/cpp/src/tests/Statistics.h +++ b/cpp/src/tests/Statistics.h @@ -38,6 +38,7 @@ namespace tests { class Statistic { public: + virtual ~Statistic(); virtual void message(const messaging::Message&) = 0; virtual void report(std::ostream&) const = 0; virtual void header(std::ostream&) const = 0; @@ -72,6 +73,8 @@ class ThroughputAndLatency : public Throughput { /** Report batch and overall statistics */ class ReporterBase { public: + virtual ~ReporterBase(); + /** Count message in the statistics */ void message(const messaging::Message& m); |
