diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-22 17:42:08 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-25 08:26:31 +0000 |
commit | bdf4a707623a7bab146a030f25897e48d401c639 (patch) | |
tree | 327c529db69c45511038f36bf77d7f40a5ea9a62 /src/lib/corelib/buildgraph/productbuilddata.h | |
parent | bcb2211c186335cf851cb86562e65e6feedf3dd1 (diff) |
Get rid of the code marking a rule for re-application
I do not see what functionality this code adds to the change tracking
procedure.
Change-Id: Id3809564b8cb3517b5932b18aeaad3ba5588905a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/productbuilddata.h')
-rw-r--r-- | src/lib/corelib/buildgraph/productbuilddata.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/corelib/buildgraph/productbuilddata.h b/src/lib/corelib/buildgraph/productbuilddata.h index 553f79159..a482e18ca 100644 --- a/src/lib/corelib/buildgraph/productbuilddata.h +++ b/src/lib/corelib/buildgraph/productbuilddata.h @@ -73,10 +73,6 @@ public: void removeArtifact(Artifact *artifact); void removeArtifactFromSetByFileTag(Artifact *artifact, const FileTag &fileTag); void addFileTagToArtifact(Artifact *artifact, const FileTag &tag); - void addArtifactWithChangedInputsForRule(const RuleConstPtr &rule, Artifact *artifact); - void removeArtifactWithChangedInputsForRule(const RuleConstPtr &rule, Artifact *artifact); - void removeAllArtifactsWithChangedInputsForRule(const RuleConstPtr &rule); - bool ruleHasArtifactWithChangedInputs(const RuleConstPtr &rule) const; ArtifactSetByFileTag artifactsByFileTag() const; @@ -93,7 +89,7 @@ public: template<PersistentPool::OpType opType> void completeSerializationOp(PersistentPool &pool) { pool.serializationOp<opType>(m_nodes, m_roots, m_rescuableArtifactData, - m_artifactsByFileTag, m_artifactsWithChangedInputsPerRule); + m_artifactsByFileTag); } private: @@ -114,9 +110,6 @@ private: ArtifactSetByFileTag m_artifactsByFileTag; mutable std::mutex m_artifactsMapMutex; - typedef QHash<RuleConstPtr, ArtifactSet> ArtifactSetByRule; - ArtifactSetByRule m_artifactsWithChangedInputsPerRule; - bool m_jsArtifactsMapUpToDate = true; }; |