activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r501147 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java
Date Mon, 29 Jan 2007 19:15:02 GMT
Author: tabish
Date: Mon Jan 29 11:15:01 2007
New Revision: 501147

URL: http://svn.apache.org/viewvc?view=rev&rev=501147
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java?view=diff&rev=501147&r1=501146&r2=501147
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java
Mon Jan 29 11:15:01 2007
@@ -158,8 +158,10 @@
                 !type.startsWith("std::vector") ) {
                     
                     type = type + "*";
-            } else if( property.getType().getSimpleName().equals("String") ) {
-                type = type + "&";
+            } else if( property.getType().getSimpleName().equals("String") ||
+            		   type.startsWith("std::vector") ) {
+
+            	type = type + "&";
                 constness = "const ";
             }
             



Mime
View raw message