summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Statistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/Statistics.h')
-rw-r--r--qpid/cpp/src/tests/Statistics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/Statistics.h b/qpid/cpp/src/tests/Statistics.h
index 5c5b21c49c..def37b7424 100644
--- a/qpid/cpp/src/tests/Statistics.h
+++ b/qpid/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);