diff options
Diffstat (limited to 'src/lib/buildgraph/projectbuilddata.cpp')
| -rw-r--r-- | src/lib/buildgraph/projectbuilddata.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/buildgraph/projectbuilddata.cpp b/src/lib/buildgraph/projectbuilddata.cpp index 1ad45c13a..bec6585bc 100644 --- a/src/lib/buildgraph/projectbuilddata.cpp +++ b/src/lib/buildgraph/projectbuilddata.cpp @@ -183,7 +183,10 @@ void ProjectBuildData::updateNodeThatMustGetNewTransformer(Artifact *artifact, c const RuleConstPtr rule = artifact->transformer->rule; isDirty = true; - artifact->transformer = TransformerPtr(); + + QBS_CHECK(artifact->transformer); + foreach (Artifact * const sibling, artifact->transformer->outputs) + sibling->transformer.clear(); ArtifactsPerFileTagMap artifactsPerFileTag; foreach (Artifact *input, artifact->children) { |
