summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-02-09 15:27:19 +0000
committerAlan Conway <aconway@apache.org>2009-02-09 15:27:19 +0000
commiteda5794260547a00206e28099d44544c0bef701b (patch)
tree4b1572c180b47e723f5fa78d2065b3eb9da6b75a /cpp
parenta5df04ac705a29c85f0eb272926880cd3f0ed127 (diff)
downloadqpid-python-eda5794260547a00206e28099d44544c0bef701b.tar.gz
Fix "no virtual destructor" warning.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742563 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/examples/tradedemo/topic_publisher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/tradedemo/topic_publisher.cpp b/cpp/examples/tradedemo/topic_publisher.cpp
index 1670a3433b..913f2cb9fe 100644
--- a/cpp/examples/tradedemo/topic_publisher.cpp
+++ b/cpp/examples/tradedemo/topic_publisher.cpp
@@ -90,7 +90,7 @@ class Publisher {
virtual void publish_ticker(const std::string queue, unsigned short& curr_price);
virtual void publish_market(const std::string queue, unsigned short& curr_price, int i);
- ~Publisher() { };
+ virtual ~Publisher() { };
};
Publisher::Publisher(Session& session, int ttl_time, const unsigned long shares[6]) :