aboutsummaryrefslogtreecommitdiffstats
path: root/qv4array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qv4array.cpp')
-rw-r--r--qv4array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qv4array.cpp b/qv4array.cpp
index 7923b1e3a9..7f05d018fa 100644
--- a/qv4array.cpp
+++ b/qv4array.cpp
@@ -53,7 +53,7 @@ bool ArrayElementLessThan::operator()(const Value &v1, const Value &v2) const
return true;
if (!m_comparefn.isUndefined()) {
Value args[] = { v1, v2 };
- Value result = __qmljs_call_value(m_context, Value::undefinedValue(), &m_comparefn, args, 2);
+ Value result = __qmljs_call_value(m_context, Value::undefinedValue(), m_comparefn, args, 2);
return result.toNumber(m_context) <= 0;
}
return v1.toString(m_context)->toQString() < v2.toString(m_context)->toQString();