aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4sparsearray_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-01-24 22:11:16 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-31 11:13:48 +0100
commit28f422ebf516aefb34f1602aeef8f87432cc4fb9 (patch)
tree40aa271711eb4f3c6791d4666ec210069e1b4fce /src/qml/jsruntime/qv4sparsearray_p.h
parente37a9eb4a47eb3e5cb9f4dedccec6b69e8509625 (diff)
Move ArrayElementLessThen to qv4arraydata.cpp
This is the only place the class gets used. Change-Id: Iebb0cba7af30c1b2da68f67596c349d5e20c5053 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.h19
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;