summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-02-07 12:10:17 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-02-07 12:10:17 (GMT)
commit4701ccd7797dba00e961648e179e2af9bc203f12 (patch)
treeb9940b7bc6f4e3be723210f7d63e3789a45f309a
parent2802e2b4ee8158dba3f3584037e99907c6db7ec4 (diff)
downloadDoxygen-4701ccd7797dba00e961648e179e2af9bc203f12.zip
Doxygen-4701ccd7797dba00e961648e179e2af9bc203f12.tar.gz
Doxygen-4701ccd7797dba00e961648e179e2af9bc203f12.tar.bz2
Bug 626582 - Function overloads are not actually sorted in member function list
List was only sorted on member names, now also subsequently sorted on arguments.
-rw-r--r--src/memberlist.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index abb8aff..031b619 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -90,6 +90,7 @@ int MemberList::compareValues(const MemberDef *c1, const MemberDef *c2) const
return 1;
}
int cmp = qstricmp(c1->name(),c2->name());
+ if (cmp==0) cmp = qstricmp(c1->argsString(),c2->argsString());
return cmp!=0 ? cmp : c1->getDefLine()-c2->getDefLine();
}