mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-08 18:33:58 +00:00
Fix redundant trailing parenthesis after noexcept with condition.
Fixes https://github.com/boostorg/boostbook/issues/20.
This commit is contained in:
parent
61589d85e1
commit
9f7d6a21dc
@ -32,7 +32,7 @@
|
||||
<method name="const_method" cv="const"><type>void</type></method>
|
||||
<method name="volatile_method" cv="volatile"><type>void</type></method>
|
||||
<method name="trad_noexcept" cv="noexcept"><type>void</type></method>
|
||||
<method name="trad_noexcept_if" cv="noexcept(a==b &&(c||d)))"><type>void</type></method>
|
||||
<method name="trad_noexcept_if" cv="noexcept(a==b &&(c||d))"><type>void</type></method>
|
||||
<method name="boost_noexcept" cv="noexcept"><type>void</type></method>
|
||||
<method name="boost_noexcept_if" cv="noexcept(condition)"><type>void</type></method>
|
||||
<method name="trad_constexpr" cv="constexpr"><type>void</type></method>
|
||||
|
@ -1156,7 +1156,7 @@
|
||||
<xsl:when test="string-length($trailing)">
|
||||
<xsl:value-of select="concat(
|
||||
'noexcept(',
|
||||
substring($condition, 1, string-length($condition) - string-length($trailing)),
|
||||
substring($condition, 1, string-length($condition) - string-length($trailing) - 1),
|
||||
') ')" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
Loading…
x
Reference in New Issue
Block a user