aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/buildgraph/buildgraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/buildgraph/buildgraph.cpp')
-rw-r--r--src/lib/buildgraph/buildgraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/buildgraph/buildgraph.cpp b/src/lib/buildgraph/buildgraph.cpp
index 88db53e20..dd3b90be5 100644
--- a/src/lib/buildgraph/buildgraph.cpp
+++ b/src/lib/buildgraph/buildgraph.cpp
@@ -438,7 +438,7 @@ static void doSanityChecksForProduct(const ResolvedProductConstPtr &product, con
QBS_CHECK(parent->children.contains(artifact));
foreach (Artifact * const child, artifact->children) {
QBS_CHECK(child->parents.contains(artifact));
- QBS_CHECK(child->product);
+ QBS_CHECK(!child->product.isNull());
QBS_CHECK(child->product->buildData);
QBS_CHECK(child->product->buildData->artifacts.contains(child));
}