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 | 2ca760ac057e7fa62d78e0fd3f17762bafb3c4b7 (patch) | |
| tree | 8872932b911569c0a7eea3e5c8d512b15e7f1a55 /qpid/cpp/src/tests/Statistics.cpp | |
| parent | 6d1ac73785f0ed233869bd4a9bee3276189ce073 (diff) | |
| download | qpid-python-2ca760ac057e7fa62d78e0fd3f17762bafb3c4b7.tar.gz | |
Fix compiler warnings "virtual function but no virtual destructor".
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931660 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Statistics.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/Statistics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/Statistics.cpp b/qpid/cpp/src/tests/Statistics.cpp index 24fac8d100..09286e3298 100644 --- a/qpid/cpp/src/tests/Statistics.cpp +++ b/qpid/cpp/src/tests/Statistics.cpp @@ -25,6 +25,8 @@ namespace qpid { namespace tests { +Statistic::~Statistic() {} + Throughput::Throughput() : messages(0), started(false) {} void Throughput::message(const messaging::Message&) { @@ -82,6 +84,8 @@ void ThroughputAndLatency::report(std::ostream& o) const { ReporterBase::ReporterBase(std::ostream& o, int batch) : wantBatch(batch), batchCount(0), headerPrinted(false), out(o) {} +ReporterBase::~ReporterBase() {} + /** Count message in the statistics */ void ReporterBase::message(const messaging::Message& m) { if (!overall.get()) overall = create(); |
