You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/03/19 19:13:46 UTC
svn commit: r756122 - in /activemq/activemq-cpp/trunk:
activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/
src/main/activemq/commands/
Author: tabish
Date: Thu Mar 19 18:13:45 2009
New Revision: 756122
URL: http://svn.apache.org/viewvc?rev=756122&view=rev
Log:
Changes needed when compiling on Windows.
Modified:
activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandSourceGenerator.java
activemq/activemq-cpp/trunk/src/main/activemq/commands/BrokerId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/commands/ConnectionId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/commands/ConsumerId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/commands/LocalTransactionId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp
activemq/activemq-cpp/trunk/src/main/activemq/commands/XATransactionId.cpp
Modified: activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandSourceGenerator.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandSourceGenerator.java?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandSourceGenerator.java (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandSourceGenerator.java Thu Mar 19 18:13:45 2009
@@ -177,6 +177,7 @@
out.println("////////////////////////////////////////////////////////////////////////////////");
out.println(""+getClassName()+"& "+getClassName()+"::operator= ( const "+getClassName()+"& other ) {");
out.println(" this->copyDataStructure( &other );");
+ out.println(" return *this;");
out.println("}");
out.println("");
}
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/BrokerId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/BrokerId.cpp?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/BrokerId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/BrokerId.cpp Thu Mar 19 18:13:45 2009
@@ -174,5 +174,6 @@
////////////////////////////////////////////////////////////////////////////////
BrokerId& BrokerId::operator= ( const BrokerId& other ) {
this->copyDataStructure( &other );
+ return *this;
}
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ConnectionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ConnectionId.cpp?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ConnectionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ConnectionId.cpp Thu Mar 19 18:13:45 2009
@@ -192,5 +192,6 @@
////////////////////////////////////////////////////////////////////////////////
ConnectionId& ConnectionId::operator= ( const ConnectionId& other ) {
this->copyDataStructure( &other );
+ return *this;
}
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ConsumerId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ConsumerId.cpp?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ConsumerId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ConsumerId.cpp Thu Mar 19 18:13:45 2009
@@ -218,6 +218,7 @@
////////////////////////////////////////////////////////////////////////////////
ConsumerId& ConsumerId::operator= ( const ConsumerId& other ) {
this->copyDataStructure( &other );
+ return *this;
}
////////////////////////////////////////////////////////////////////////////////
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/LocalTransactionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/LocalTransactionId.cpp?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/LocalTransactionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/LocalTransactionId.cpp Thu Mar 19 18:13:45 2009
@@ -204,5 +204,6 @@
////////////////////////////////////////////////////////////////////////////////
LocalTransactionId& LocalTransactionId::operator= ( const LocalTransactionId& other ) {
this->copyDataStructure( &other );
+ return *this;
}
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.cpp?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/MessageId.cpp Thu Mar 19 18:13:45 2009
@@ -226,5 +226,6 @@
////////////////////////////////////////////////////////////////////////////////
MessageId& MessageId::operator= ( const MessageId& other ) {
this->copyDataStructure( &other );
+ return *this;
}
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.cpp?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/ProducerId.cpp Thu Mar 19 18:13:45 2009
@@ -218,6 +218,7 @@
////////////////////////////////////////////////////////////////////////////////
ProducerId& ProducerId::operator= ( const ProducerId& other ) {
this->copyDataStructure( &other );
+ return *this;
}
////////////////////////////////////////////////////////////////////////////////
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/SessionId.cpp Thu Mar 19 18:13:45 2009
@@ -217,6 +217,7 @@
////////////////////////////////////////////////////////////////////////////////
SessionId& SessionId::operator= ( const SessionId& other ) {
this->copyDataStructure( &other );
+ return *this;
}
////////////////////////////////////////////////////////////////////////////////
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/TransactionId.cpp Thu Mar 19 18:13:45 2009
@@ -148,5 +148,6 @@
////////////////////////////////////////////////////////////////////////////////
TransactionId& TransactionId::operator= ( const TransactionId& other ) {
this->copyDataStructure( &other );
+ return *this;
}
Modified: activemq/activemq-cpp/trunk/src/main/activemq/commands/XATransactionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/commands/XATransactionId.cpp?rev=756122&r1=756121&r2=756122&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/commands/XATransactionId.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/commands/XATransactionId.cpp Thu Mar 19 18:13:45 2009
@@ -230,5 +230,6 @@
////////////////////////////////////////////////////////////////////////////////
XATransactionId& XATransactionId::operator= ( const XATransactionId& other ) {
this->copyDataStructure( &other );
+ return *this;
}