activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r933749 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands: ActiveMQTempDestination.cpp ActiveMQTempDestination.h
Date Tue, 13 Apr 2010 19:14:10 GMT
Author: tabish
Date: Tue Apr 13 19:14:10 2010
New Revision: 933749

URL: http://svn.apache.org/viewvc?rev=933749&view=rev
Log:
fix a warning on Mac OS

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.cpp?rev=933749&r1=933748&r2=933749&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.cpp
Tue Apr 13 19:14:10 2010
@@ -27,12 +27,12 @@ using namespace activemq::commands;
 
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQTempDestination::ActiveMQTempDestination() :
-    ActiveMQDestination(), connection( NULL ) {
+    ActiveMQDestination(), Closeable(), connection( NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQTempDestination::ActiveMQTempDestination( const std::string& name ) :
-    ActiveMQDestination( name ), connection( NULL ) {
+    ActiveMQDestination( name ), Closeable(), connection( NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h?rev=933749&r1=933748&r2=933749&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h
Tue Apr 13 19:14:10 2010
@@ -52,8 +52,8 @@ namespace commands{
 
     private:
 
-        ActiveMQTempDestination( const ActiveMQTempDestination& ) : ActiveMQDestination(),
connection(NULL) {};
-        ActiveMQTempDestination& operator= ( const ActiveMQTempDestination& ) { return
*this; };
+        ActiveMQTempDestination( const ActiveMQTempDestination& );
+        ActiveMQTempDestination& operator= ( const ActiveMQTempDestination& );
 
     public:
 



Mime
View raw message