diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-07-17 14:53:56 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-07-31 08:34:24 +0000 |
commit | d020016e9ece106c0214d050aa3a5802357aeb55 (patch) | |
tree | 450d0b0e859e1a2ba3640eac1c801b26161043bc /src/lib/corelib/buildgraph/productbuilddata.h | |
parent | f8ba1f5c8d029840d24f342e92b116e5d107a835 (diff) |
Make sure the set of root artifacts is always up to date
... by updating it whenever artifact file tags change.
Change-Id: I62496ba73f7633888de6be16aca59777a53629ed
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/corelib/buildgraph/productbuilddata.h b/src/lib/corelib/buildgraph/productbuilddata.h index a482e18ca..bcc500de8 100644 --- a/src/lib/corelib/buildgraph/productbuilddata.h +++ b/src/lib/corelib/buildgraph/productbuilddata.h @@ -68,6 +68,7 @@ public: void addNode(BuildGraphNode *node) { m_nodes.insert(node); } void addRootNode(BuildGraphNode *node) { m_roots.insert(node); } + void removeFromRootNodes(BuildGraphNode *node) { m_roots.remove(node); } void addArtifact(Artifact *artifact); void addArtifactToSet(Artifact *artifact); void removeArtifact(Artifact *artifact); |