aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/productbuilddata.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-07-17 14:53:56 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-07-31 08:34:24 +0000
commitd020016e9ece106c0214d050aa3a5802357aeb55 (patch)
tree450d0b0e859e1a2ba3640eac1c801b26161043bc /src/lib/corelib/buildgraph/productbuilddata.h
parentf8ba1f5c8d029840d24f342e92b116e5d107a835 (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.h1
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);