activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r519033 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
Date Fri, 16 Mar 2007 16:10:51 GMT
Author: tabish
Date: Fri Mar 16 09:10:50 2007
New Revision: 519033

URL: http://svn.apache.org/viewvc?view=rev&rev=519033
Log:
http://issues.apache.org/activemq/browse/AMQCPP-81

Fixed bad cast

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp?view=diff&rev=519033&r1=519032&r2=519033
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
Fri Mar 16 09:10:50 2007
@@ -202,7 +202,7 @@
             connectionData->getConnector()->acknowledge(
                 consumer->getSessionInfo(),
                 consumer,
-                (Message*)message,
+                dynamic_cast<Message*>( message ),
                 Connector::DeliveredAck );
 
             // Delete the message here



Mime
View raw message