aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/memory
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-03-25 10:59:43 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2017-03-25 10:59:43 +0000
commite2863c80fed06104eedfe83bce2737f2d24908a6 (patch)
tree7981bfb6f3d9ea9f74a58da688e4a26caec19aee /src/qml/memory
parent8bed5de48c3ec24f9ad335e5398d92d0a60c448c (diff)
parent7f325896634a3b99e778d90e5fe738a47f855526 (diff)
Merge "Merge remote-tracking branch 'origin/5.8' into 5.9" into refs/staging/5.9
Diffstat (limited to 'src/qml/memory')
-rw-r--r--src/qml/memory/qv4heap_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/memory/qv4heap_p.h b/src/qml/memory/qv4heap_p.h
index bdb5bef92b..173c0a3e20 100644
--- a/src/qml/memory/qv4heap_p.h
+++ b/src/qml/memory/qv4heap_p.h
@@ -133,7 +133,7 @@ struct Q_QML_EXPORT Base {
else if (_livenessStatus == Destroyed)
fprintf(stderr, "ERROR: use of object '%s' after call to destroy() !!\n",
vtable()->className);
- Q_ASSERT(_livenessStatus = Initialized);
+ Q_ASSERT(_livenessStatus == Initialized);
}
void _checkIsDestroyed() {
if (_livenessStatus == Initialized)