Skip to content

Commit 09997c5

Browse files
committed
Prevent reading tag file multiple times
Probably even better to use its own find method.
1 parent c4f663b commit 09997c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doxygen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9797,7 +9797,7 @@ static void readTagFile(const std::shared_ptr<Entry> &root,const QCString &tagLi
97979797
return;
97989798
}
97999799

9800-
if (std::find(Doxygen::tagFileSet.begin(), Doxygen::tagFileSet.end(), fi.absFilePath().c_str()) != Doxygen::tagFileSet.end()) return;
9800+
if (Doxygen::tagFileSet.find(fi.absFilePath().c_str()) != Doxygen::tagFileSet.end()) return;
98019801

98029802
Doxygen::tagFileSet.emplace(fi.absFilePath());
98039803

0 commit comments

Comments
 (0)