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 2007/01/29 21:17:48 UTC
svn commit: r501172 -
/incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
Author: tabish
Date: Mon Jan 29 12:17:44 2007
New Revision: 501172
URL: http://svn.apache.org/viewvc?view=rev&rev=501172
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30
Modified:
incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java?view=diff&rev=501172&r1=501171&r2=501172
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java Mon Jan 29 12:17:44 2007
@@ -281,7 +281,8 @@
!type.startsWith("std::vector") ) {
type = type + "*";
- } else if( property.getType().getSimpleName().equals("String") ) {
+ } else if( property.getType().getSimpleName().equals("String") ||
+ type.startsWith( "std::vector") ) {
type = type + "&";
constNess = "const ";
}