Skip to content

Commit 2fdd9f6

Browse files
committed
issue #10655 Class Member List does not show friend operator parameter list
Looks like the translation from: ``` (md->isFriend() && md->argsString())) ``` to ``` (md->isFriend() && md->argsString().isEmpty())) ``` was done incorrectly (missing `!`).
1 parent 4c99c07 commit 2fdd9f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classdef.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3020,7 +3020,7 @@ void ClassDefImpl::writeMemberList(OutputList &ol) const
30203020
md->anchor(),name);
30213021

30223022
if ( md->isFunction() || md->isSignal() || md->isSlot() ||
3023-
(md->isFriend() && md->argsString().isEmpty()))
3023+
(md->isFriend() && !md->argsString().isEmpty()))
30243024
ol.docify(md->argsString());
30253025
else if (md->isEnumerate())
30263026
ol.parseText(" "+theTranslator->trEnumName());

0 commit comments

Comments
 (0)