ClangPchManager: Set the time stamp to -1 if a file changed

Change-Id: I2919201b5c9dc67a2d212d7bf2fb433def8be891
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2019-07-24 16:24:28 +02:00
parent cdda564946
commit 2ae4c35a65

View File

@@ -220,7 +220,7 @@ void PchManagerServer::pathsWithIdsChanged(const std::vector<IdPaths> &idPaths)
void PchManagerServer::pathsChanged(const FilePathIds &filePathIds) void PchManagerServer::pathsChanged(const FilePathIds &filePathIds)
{ {
m_buildDependenciesStorage.insertOrUpdateIndexingTimeStamps(filePathIds, 0); m_buildDependenciesStorage.insertOrUpdateIndexingTimeStamps(filePathIds, -1);
} }
void PchManagerServer::setPchCreationProgress(int progress, int total) void PchManagerServer::setPchCreationProgress(int progress, int total)