aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-03-13 08:44:22 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2017-03-13 08:03:13 +0000
commit1ba5c5bb017237501fd8e1e97fc00b4817f19fa4 (patch)
tree7614aef9603a3998daefbc5a9c539039fdfa06fe
parent4aabede9348d195cec2ca6c4718576aa35464e3e (diff)
Fix accidental assignment in assertion
Change-Id: I5b63697c0607f4300b7f203eeac74914f3fb43af Reviewed-by: Holger Freyther <holger+qt@freyther.de> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-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 5a3797f397..97aa6ced38 100644
--- a/src/qml/memory/qv4heap_p.h
+++ b/src/qml/memory/qv4heap_p.h
@@ -144,7 +144,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)