summaryrefslogtreecommitdiff
path: root/cpp/common/framing/generated/stylesheets/utils.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/common/framing/generated/stylesheets/utils.xsl')
-rw-r--r--cpp/common/framing/generated/stylesheets/utils.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/common/framing/generated/stylesheets/utils.xsl b/cpp/common/framing/generated/stylesheets/utils.xsl
index 829d38433e..70743112a9 100644
--- a/cpp/common/framing/generated/stylesheets/utils.xsl
+++ b/cpp/common/framing/generated/stylesheets/utils.xsl
@@ -23,8 +23,8 @@
<xsl:choose>
<xsl:when test="$t='octet'">u_int8_t</xsl:when>
<xsl:when test="$t='short'">u_int16_t</xsl:when>
- <xsl:when test="$t='shortstr'">string&amp;</xsl:when>
- <xsl:when test="$t='longstr'">string&amp;</xsl:when>
+ <xsl:when test="$t='shortstr'">const string&amp;</xsl:when>
+ <xsl:when test="$t='longstr'">const string&amp;</xsl:when>
<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>