Skip to content

Commit e89966f

Browse files
committed
Refactoring: Re-added sorting for namespaces
1 parent e0c4e9f commit e89966f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/doxygen.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11447,6 +11447,11 @@ void parseInput()
1144711447
qstricmp(c1->className(), c2->className())<0;
1144811448
};
1144911449

11450+
auto namespaceComp = [](const NamespaceLinkedMap::Ptr &n1,const NamespaceLinkedMap::Ptr &n2)
11451+
{
11452+
return qstricmp(n1->name(),n2->name())<0;
11453+
};
11454+
1145011455
g_s.begin("Sorting lists...\n");
1145111456
std::sort(Doxygen::memberNameLinkedMap->begin(),
1145211457
Doxygen::memberNameLinkedMap->end(),
@@ -11460,6 +11465,9 @@ void parseInput()
1146011465
std::sort(Doxygen::classLinkedMap->begin(),
1146111466
Doxygen::classLinkedMap->end(),
1146211467
classComp);
11468+
std::sort(Doxygen::namespaceLinkedMap->begin(),
11469+
Doxygen::namespaceLinkedMap->end(),
11470+
namespaceComp);
1146311471
g_s.end();
1146411472

1146511473
QDir thisDir;

0 commit comments

Comments
 (0)