qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r742563 - /qpid/trunk/qpid/cpp/examples/tradedemo/topic_publisher.cpp
Date Mon, 09 Feb 2009 15:27:19 GMT
Author: aconway
Date: Mon Feb  9 15:27:19 2009
New Revision: 742563

URL: http://svn.apache.org/viewvc?rev=742563&view=rev
Log:
Fix "no virtual destructor" warning.

Modified:
    qpid/trunk/qpid/cpp/examples/tradedemo/topic_publisher.cpp

Modified: qpid/trunk/qpid/cpp/examples/tradedemo/topic_publisher.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/examples/tradedemo/topic_publisher.cpp?rev=742563&r1=742562&r2=742563&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/examples/tradedemo/topic_publisher.cpp (original)
+++ qpid/trunk/qpid/cpp/examples/tradedemo/topic_publisher.cpp Mon Feb  9 15:27:19 2009
@@ -90,7 +90,7 @@
 
     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]) :




---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message