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/23 15:28:33 UTC
svn commit: r757401 -
/activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/CommandHeaderGenerator.java
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("");
}