diff options
Diffstat (limited to 'src/qml/jsruntime/qv4sparsearray_p.h')
| -rw-r--r-- | src/qml/jsruntime/qv4sparsearray_p.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/qml/jsruntime/qv4sparsearray_p.h b/src/qml/jsruntime/qv4sparsearray_p.h index 648fc9ac7d..0bcbc805f3 100644 --- a/src/qml/jsruntime/qv4sparsearray_p.h +++ b/src/qml/jsruntime/qv4sparsearray_p.h @@ -39,8 +39,8 @@ ** ****************************************************************************/ -#ifndef QV4ARRAY_H -#define QV4ARRAY_H +#ifndef QV4SPARSEARRAY_H +#define QV4SPARSEARRAY_H #include "qv4global_p.h" #include <QtCore/qmap.h> @@ -62,21 +62,6 @@ namespace QV4 { struct SparseArray; -class ArrayElementLessThan -{ -public: - inline ArrayElementLessThan(ExecutionContext *context, ObjectRef thisObject, const ValueRef comparefn) - : m_context(context), thisObject(thisObject), m_comparefn(comparefn) {} - - bool operator()(const SafeValue &v1, const SafeValue &v2) const; - -private: - ExecutionContext *m_context; - ObjectRef thisObject; - const ValueRef m_comparefn; -}; - - struct SparseArrayNode { quintptr p; |
