Store the documents in an hash.

This commit is contained in:
Roberto Raggi
2009-12-07 11:12:55 +01:00
parent 14376c3c32
commit 60caec48d1
5 changed files with 18 additions and 17 deletions

View File

@@ -558,7 +558,7 @@ QStringList Snapshot::filesDependingOn(const QString &fileName) const
return deps;
}
QMap<QString, QStringList> Snapshot::dependencyTable() const
QHash<QString, QStringList> Snapshot::dependencyTable() const
{
const int N = size();
QVector<QString> files(N);
@@ -568,7 +568,7 @@ QMap<QString, QStringList> Snapshot::dependencyTable() const
dependency_helper(files, fileIndex, includes, includeMap);
QMap<QString, QStringList> depMap;
QHash<QString, QStringList> depMap;
for (int index = 0; index < files.size(); ++index) {
QStringList deps;