diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-09-19 13:17:55 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-22 01:06:20 +0200 |
commit | 78b49cf8361b1462cc94a061916a15f0b98e27e3 (patch) | |
tree | 01ac33be8df5d1cf2801ed34275d22bff7934e62 /src/qml/jsruntime/qv4sparsearray_p.h | |
parent | a9bdc91cefabb3729d0240fce4c01a669be09dbf (diff) |
Convert the last methods in qv4object_p.h
Change-Id: I4fda83a0832760c277e629d4e658da718c0bf92b
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4sparsearray_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4sparsearray_p.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4sparsearray_p.h b/src/qml/jsruntime/qv4sparsearray_p.h index 384d2ef045..4746498963 100644 --- a/src/qml/jsruntime/qv4sparsearray_p.h +++ b/src/qml/jsruntime/qv4sparsearray_p.h @@ -45,6 +45,7 @@ #include "qv4global_p.h" #include <QtCore/qmap.h> #include "qv4value_p.h" +#include "qv4scopedvalue_p.h" #include "qv4property_p.h" #include <assert.h> @@ -63,15 +64,15 @@ struct SparseArray; class ArrayElementLessThan { public: - inline ArrayElementLessThan(ExecutionContext *context, Object *thisObject, const Value &comparefn) + inline ArrayElementLessThan(ExecutionContext *context, ObjectRef thisObject, const ValueRef comparefn) : m_context(context), thisObject(thisObject), m_comparefn(comparefn) {} bool operator()(const Property &v1, const Property &v2) const; private: ExecutionContext *m_context; - Object *thisObject; - Value m_comparefn; + ObjectRef thisObject; + const ValueRef m_comparefn; }; |