Author: gsim
Date: Fri Oct 20 06:02:53 2006
New Revision: 466100

URL: http://svn.apache.org/viewvc?view=rev&rev=466100
Log:
Updated stylesheet for generator such that a const reference is used where a 
FieldTable 
is passed as an argument to a method body.
 

Modified:
    incubator/qpid/trunk/qpid/cpp/etc/stylesheets/utils.xsl

Modified: incubator/qpid/trunk/qpid/cpp/etc/stylesheets/utils.xsl
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/etc/stylesheets/utils.xsl?view=diff&rev=466100&r1=466099&r2=466100
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/etc/stylesheets/utils.xsl (original)
+++ incubator/qpid/trunk/qpid/cpp/etc/stylesheets/utils.xsl Fri Oct 20 06:02:53 
2006
@@ -28,7 +28,7 @@
         <xsl:when test="$t='bit'">bool</xsl:when>                              
 
         <xsl:when test="$t='long'">u_int32_t</xsl:when>                        
         
         <xsl:when test="$t='longlong'">u_int64_t</xsl:when>                    
         
-        <xsl:when test="$t='table'">FieldTable&amp;</xsl:when>                 
                 
+        <xsl:when test="$t='table'">const FieldTable&amp;</xsl:when>           
                 
          <xsl:otherwise>Object /*WARNING: undefined type*/</xsl:otherwise>
     </xsl:choose>
 </xsl:function>


Reply via email to