aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtime_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-07-24 11:53:59 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-04 20:16:37 +0100
commit6b7c3ea49c3475a71c582dd8c4a54429e543ec1c (patch)
tree0796cc9e788070a979f7eccfd10b957a80968c94 /src/qml/jsruntime/qv4runtime_p.h
parent3f1d0b27a11a1d560c11057d2a801224d1613d60 (diff)
Remove most calls to Value::managed()
Change-Id: Id5b1cca542421d749711eff68520a4138ec95531 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4runtime_p.h')
-rw-r--r--src/qml/jsruntime/qv4runtime_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime_p.h b/src/qml/jsruntime/qv4runtime_p.h
index 6042420291..52a345f83e 100644
--- a/src/qml/jsruntime/qv4runtime_p.h
+++ b/src/qml/jsruntime/qv4runtime_p.h
@@ -470,7 +470,7 @@ inline Bool Runtime::compareEqual(const ValueRef left, const ValueRef right)
if (!left->isManaged())
return false;
if (left->isString() == right->isString())
- return left->managed()->isEqualTo(right->managed());
+ return left->cast<Managed>()->isEqualTo(right->cast<Managed>());
}
return RuntimeHelpers::equalHelper(left, right);