activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r757401 - /activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandHeaderGenerator.java
Date Mon, 23 Mar 2009 14:28:33 GMT
Author: tabish
Date: Mon Mar 23 14:28:19 2009
New Revision: 757401

URL: http://svn.apache.org/viewvc?rev=757401&view=rev
Log:
generate empty methods bodies for hidden copy constructors and assignment operators to make
DLL builds work.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandHeaderGenerator.java

Modified: activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandHeaderGenerator.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandHeaderGenerator.java?rev=757401&r1=757400&r2=757401&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandHeaderGenerator.java
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandHeaderGenerator.java
Mon Mar 23 14:28:19 2009
@@ -66,8 +66,8 @@
         if( !isAssignable() ) {
             out.println("    protected:");
             out.println("");
-            out.println("        "+getClassName()+"( const "+getClassName()+"& other
);");
-            out.println("        "+getClassName()+"& operator= ( const "+getClassName()+"&
other );");
+            out.println("        "+getClassName()+"( const "+getClassName()+"& other
AMQCPP_UNUSED ) {};");
+            out.println("        "+getClassName()+"& operator= ( const "+getClassName()+"&
other AMQCPP_UNUSED ) { return *this; };");
             out.println("");
         }
 



Mime
View raw message