Clang: Rename/remove projectPartId

Change-Id: I91e95acd37152eda4e25c0b8abf46d36523fd2b9
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Nikolai Kosjar
2017-05-04 17:57:59 +02:00
parent cf0e3f2db3
commit c1d7f4091e
11 changed files with 31 additions and 36 deletions

View File

@@ -43,7 +43,8 @@ namespace ClangBackEnd {
bool operator==(const FileContainer &fileContainer, const Document &document)
{
return fileContainer.filePath() == document.filePath() && fileContainer.projectPartId() == document.projectPartId();
return fileContainer.filePath() == document.filePath()
&& fileContainer.projectPartId() == document.projectPart().id();
}
bool operator==(const Document &document, const FileContainer &fileContainer)