Skip to content

Commit 3e3687e

Browse files
committed
bug 129682 Wrong function dependency is made
After review: ``` &(argumentList()), ``` is a bit dangerous (temporary variable), replacing with: ``` &m_defArgList, ```
1 parent 7b9535f commit 3e3687e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/memberdef.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,7 +2523,7 @@ void MemberDefImpl::writeDeclaration(OutputList &ol,
25232523
isTypedef() ?
25242524
substitute(argsString(),")(",") (") :
25252525
combineArgsAndException(argsString(),excpString()), // text
2526-
&(argumentList()),
2526+
&m_defArgList,
25272527
m_annMemb!=nullptr, // autoBreak
25282528
TRUE, // external
25292529
FALSE, // keepSpaces
@@ -4089,7 +4089,7 @@ void MemberDefImpl::writeMemberDocSimple(OutputList &ol, const Definition *conta
40894089
ol.docify(doxyName);
40904090
if (isVariable() && !argsString().isEmpty() && !isObjCMethod() && !isFunctionPtr())
40914091
{
4092-
linkifyText(TextGeneratorOLImpl(ol),getOuterScope(),getBodyDef(),this,argsString(),&(argumentList()));
4092+
linkifyText(TextGeneratorOLImpl(ol),getOuterScope(),getBodyDef(),this,argsString(),&m_defArgList);
40934093
}
40944094
if (!m_bitfields.isEmpty()) // add bitfields
40954095
{

0 commit comments

Comments
 (0)