diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-04-03 13:08:25 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-07-22 13:48:53 +0200 |
commit | c2ef5bff232f758716f1665e5d9d9b9b2f20385d (patch) | |
tree | 281a2670200dc3bf804549131420dcaf89842cd0 /src/qml/jsruntime/qv4functionobject_p.h | |
parent | 4427576fe548b6f9f8acba6a5ac3082fbbb99724 (diff) |
Use Members for storing the bound arguments in BoundFunction
Cleans up the code, and allows us to remove the destructor
for bound function objects.
Change-Id: Id32ac69171f7975ec7679d07d25c0eb6b4ca6fb5
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4functionobject_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4functionobject_p.h b/src/qml/jsruntime/qv4functionobject_p.h index 76a69d7d2a..ef58ffce7f 100644 --- a/src/qml/jsruntime/qv4functionobject_p.h +++ b/src/qml/jsruntime/qv4functionobject_p.h @@ -229,9 +229,9 @@ struct BoundFunction: FunctionObject { V4_OBJECT FunctionObject *target; Value boundThis; - QVector<Value> boundArgs; + Members boundArgs; - BoundFunction(ExecutionContext *scope, FunctionObjectRef target, const ValueRef boundThis, const QVector<Value> &boundArgs); + BoundFunction(ExecutionContext *scope, FunctionObjectRef target, const ValueRef boundThis, const Members &boundArgs); ~BoundFunction() {} |