aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-01-20 12:29:24 +0100
committerJoerg Bornemann <joerg.bornemann@digia.com>2014-01-20 12:32:35 +0100
commit9a1e3d954998210855b89fea34fe9b8d647dbbec (patch)
tree8f47f9cd7e0239617445126a6487fd8d5d3eed85
parent58f8123b96480cf09a0ba7c443d514de8cc3f3b3 (diff)
Fix compilation on Windows.
Change-Id: I6f31008d3cc0e7fbff1cc47703ad05861b0eb67d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-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));
}