From 6b7c3ea49c3475a71c582dd8c4a54429e543ec1c Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 24 Jul 2014 11:53:59 +0200 Subject: Remove most calls to Value::managed() Change-Id: Id5b1cca542421d749711eff68520a4138ec95531 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4runtime_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4runtime_p.h') 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()->isEqualTo(right->cast()); } return RuntimeHelpers::equalHelper(left, right); -- cgit v1.2.3