activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1367127 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/ActiveMQMessageTransformationTest.cpp
Date Mon, 30 Jul 2012 15:40:43 GMT
Author: tabish
Date: Mon Jul 30 15:40:43 2012
New Revision: 1367127

URL: http://svn.apache.org/viewvc?rev=1367127&view=rev
Log:
Fix a warning 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/ActiveMQMessageTransformationTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/ActiveMQMessageTransformationTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/ActiveMQMessageTransformationTest.cpp?rev=1367127&r1=1367126&r2=1367127&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/ActiveMQMessageTransformationTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/ActiveMQMessageTransformationTest.cpp
Mon Jul 30 15:40:43 2012
@@ -44,10 +44,11 @@ namespace {
     private:
 
         std::string name;
+        activemq::util::ActiveMQProperties props;
 
     public:
 
-        CustomCmsTopic() : cms::Topic(), name("TEST-CMS-TOPIC") {
+        CustomCmsTopic() : cms::Topic(), name("TEST-CMS-TOPIC"), props() {
 
         }
 
@@ -76,7 +77,7 @@ namespace {
         }
 
         virtual const cms::CMSProperties& getCMSProperties() const {
-            return activemq::util::ActiveMQProperties();
+            return props;
         }
 
     };



Mime
View raw message