activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1101039 - in /activemq/activemq-cpp/trunk/activemq-cpp/src: main/activemq/transport/TransportFilter.cpp main/activemq/transport/TransportFilter.h test/activemq/transport/correlator/ResponseCorrelatorTest.cpp
Date Mon, 09 May 2011 14:30:20 GMT
Author: tabish
Date: Mon May  9 14:30:19 2011
New Revision: 1101039

URL: http://svn.apache.org/viewvc?rev=1101039&view=rev
Log:
fix some warnings

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/correlator/ResponseCorrelatorTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp?rev=1101039&r1=1101038&r2=1101039&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.cpp
Mon May  9 14:30:19 2011
@@ -18,6 +18,8 @@
 #include "TransportFilter.h"
 #include <decaf/io/IOException.h>
 
+#include <activemq/wireformat/WireFormat.h>
+
 using namespace activemq;
 using namespace activemq::transport;
 using namespace decaf::lang;
@@ -129,3 +131,13 @@ void TransportFilter::reconnect( const d
     AMQ_CATCH_EXCEPTION_CONVERT( Exception, IOException )
     AMQ_CATCHALL_THROW( IOException )
 }
+
+////////////////////////////////////////////////////////////////////////////////
+Pointer<wireformat::WireFormat> TransportFilter::getWireFormat() const {
+    return next->getWireFormat();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+void TransportFilter::setWireFormat( const Pointer<wireformat::WireFormat>& wireFormat
) {
+    next->setWireFormat( wireFormat );
+}

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.h?rev=1101039&r1=1101038&r2=1101039&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/TransportFilter.h
Mon May  9 14:30:19 2011
@@ -129,13 +129,9 @@ namespace transport{
             return this->listener;
         }
 
-        virtual Pointer<wireformat::WireFormat> getWireFormat() const {
-        	return next->getWireFormat();
-        }
+        virtual Pointer<wireformat::WireFormat> getWireFormat() const;
 
-        virtual void setWireFormat( const Pointer<wireformat::WireFormat>& wireFormat
) {
-            next->setWireFormat( wireFormat );
-        }
+        virtual void setWireFormat( const Pointer<wireformat::WireFormat>& wireFormat
);
 
         virtual void start();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/correlator/ResponseCorrelatorTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/correlator/ResponseCorrelatorTest.cpp?rev=1101039&r1=1101038&r2=1101039&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/correlator/ResponseCorrelatorTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/correlator/ResponseCorrelatorTest.cpp
Mon May  9 14:30:19 2011
@@ -19,6 +19,7 @@
 
 #include <activemq/util/Config.h>
 #include <activemq/commands/BaseCommand.h>
+#include <activemq/wireformat/WireFormat.h>
 #include <activemq/transport/DefaultTransportListener.h>
 #include <activemq/transport/correlator/ResponseCorrelator.h>
 #include <decaf/lang/Thread.h>
@@ -106,7 +107,7 @@ namespace correlator{
         }
 
         virtual Pointer<wireformat::WireFormat> getWireFormat() const {
-        	return Pointer<wireformat::WireFormat>();
+            return Pointer<wireformat::WireFormat>();
         }
 
         virtual void setWireFormat(



Mime
View raw message