aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/projectbuilddata.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-09-09 15:32:20 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-09-10 10:05:33 +0200
commitffa686782af8c494a3c96967e22c0307c10b1b80 (patch)
tree4a30d0b579b85e930232835ab30ea40e53d33bff /src/lib/corelib/buildgraph/projectbuilddata.cpp
parent247d0b8de800b80aef61176ad672c4f0225a209e (diff)
Do not clear Artifact::product in removeArtifact().v1.3.1
This is too early in the case of change tracking; we still do a couple of things with the old build data afterwards. Change-Id: I843e364288ed7b05bcb7d03386c102212ec18690 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/projectbuilddata.cpp')
-rw-r--r--src/lib/corelib/buildgraph/projectbuilddata.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/projectbuilddata.cpp b/src/lib/corelib/buildgraph/projectbuilddata.cpp
index c53cb9311..bc0babb9f 100644
--- a/src/lib/corelib/buildgraph/projectbuilddata.cpp
+++ b/src/lib/corelib/buildgraph/projectbuilddata.cpp
@@ -299,7 +299,6 @@ void ProjectBuildData::removeArtifact(Artifact *artifact,
artifact->product->buildData->nodes.remove(artifact);
artifact->product->buildData->roots.remove(artifact);
removeArtifactFromSet(artifact, artifact->product->buildData->artifactsByFileTag);
- artifact->product.clear();
}
isDirty = true;
}