Author: tabish
Date: Mon Apr 6 00:07:15 2009
New Revision: 762189
URL: http://svn.apache.org/viewvc?rev=762189&view=rev
Log:
Change the copy and assignment generator code to fix a compiler warning on Mac.
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=762189&r1=762188&r2=762189&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 Apr 6 00:07:15 2009
@@ -66,8 +66,8 @@
if( !isAssignable() ) {
out.println(" protected:");
out.println("");
- out.println(" "+getClassName()+"( const "+getClassName()+"& other
AMQCPP_UNUSED ) {};");
- out.println(" "+getClassName()+"& operator= ( const "+getClassName()+"&
other AMQCPP_UNUSED ) { return *this; };");
+ out.println(" "+getClassName()+"( const "+getClassName()+"& ) : "
+ getBaseClassName() + "() {};");
+ out.println(" "+getClassName()+"& operator= ( const "+getClassName()+"&
) { return *this; };");
out.println("");
}
|