diff options
author | Alan Conway <aconway@apache.org> | 2009-02-09 15:27:19 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-02-09 15:27:19 +0000 |
commit | eda5794260547a00206e28099d44544c0bef701b (patch) | |
tree | 4b1572c180b47e723f5fa78d2065b3eb9da6b75a /cpp | |
parent | a5df04ac705a29c85f0eb272926880cd3f0ed127 (diff) | |
download | qpid-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.cpp | 2 |
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]) : |