Skip to content

Commit fd2e305

Browse files
author
Dimitri van Heesch
authored
Merge pull request doxygen#664 from albert-github/feature/bug_791410
Bug 791410 - doxygen has problem with operator&=()
2 parents b6f01ff + 1e935dc commit fd2e305

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/util.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,11 @@ QCString removeRedundantWhiteSpace(const QCString &s)
18561856
case '&':
18571857
if (i>0 && isId(pc))
18581858
{
1859-
*dst++=' ';
1859+
if (nc != '=')
1860+
// avoid splitting operator&=
1861+
{
1862+
*dst++=' ';
1863+
}
18601864
}
18611865
*dst++=c;
18621866
break;

0 commit comments

Comments
 (0)