From 9a1e3d954998210855b89fea34fe9b8d647dbbec Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Mon, 20 Jan 2014 12:29:24 +0100 Subject: Fix compilation on Windows. Change-Id: I6f31008d3cc0e7fbff1cc47703ad05861b0eb67d Reviewed-by: Joerg Bornemann --- src/lib/buildgraph/buildgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- cgit v1.2.3