summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-10-20 13:02:53 +0000
committerGordon Sim <gsim@apache.org>2006-10-20 13:02:53 +0000
commit7b14ac4b6d83afb9398a32f67909ef5913d1cad3 (patch)
treee8e147d12056fc4a0e92b00a2d48ec6787af3217 /cpp
parentad94436b4b0c4433fc7b7813fe4acf450406a66d (diff)
downloadqpid-python-7b14ac4b6d83afb9398a32f67909ef5913d1cad3.tar.gz
Updated stylesheet for generator such that a const reference is used where a FieldTable
is passed as an argument to a method body. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466100 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/etc/stylesheets/utils.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/etc/stylesheets/utils.xsl b/cpp/etc/stylesheets/utils.xsl
index 70743112a9..54b2e56f23 100644
--- a/cpp/etc/stylesheets/utils.xsl
+++ b/cpp/etc/stylesheets/utils.xsl
@@ -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>