src: fixes for FilePath refactoring on clang

This commit is contained in:
Eberhard Graether
2017-05-04 11:54:45 +02:00
parent f46e9866fb
commit 74da2c7de9
4 changed files with 15 additions and 16 deletions
+3 -3
View File
@@ -2074,9 +2074,9 @@ void PersistentStorage::buildFilePathMaps()
for (StorageFile file: m_sqliteIndexStorage.getAll<StorageFile>())
{
m_fileNodeIds.emplace(file.filePath, file.id);
m_fileNodePaths.emplace(file.id, file.filePath);
m_fileNodeComplete.emplace(file.filePath, file.complete);
m_fileNodeIds.emplace(FilePath(file.filePath), file.id);
m_fileNodePaths.emplace(file.id, FilePath(file.filePath));
m_fileNodeComplete.emplace(FilePath(file.filePath), file.complete);
}
}