aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4managed_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-19 09:10:42 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-22 01:06:20 +0200
commit332b870bd8f0fba6f09e539376a674d7a4413631 (patch)
treea3977c20b6331e1e6ab1d85e5e25836155797d0c /src/qml/jsruntime/qv4managed_p.h
parentdf5edd28bc4258b89d9d5ffdddf837f339a17aad (diff)
Convert putIndexed()
Change-Id: I7d02b0fdf45079d0f7afcfb6d3158dd60cb09f33 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4managed_p.h')
-rw-r--r--src/qml/jsruntime/qv4managed_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4managed_p.h b/src/qml/jsruntime/qv4managed_p.h
index 00ad52a9ef..c91b9453da 100644
--- a/src/qml/jsruntime/qv4managed_p.h
+++ b/src/qml/jsruntime/qv4managed_p.h
@@ -100,7 +100,7 @@ struct ManagedVTable
ReturnedValue (*get)(Managed *, const StringRef name, bool *hasProperty);
ReturnedValue (*getIndexed)(Managed *, uint index, bool *hasProperty);
void (*put)(Managed *, const StringRef name, const ValueRef value);
- void (*putIndexed)(Managed *, uint index, const Value &value);
+ void (*putIndexed)(Managed *, uint index, const ValueRef value);
PropertyAttributes (*query)(const Managed *, String *name);
PropertyAttributes (*queryIndexed)(const Managed *, uint index);
bool (*deleteProperty)(Managed *m, String *name);
@@ -266,8 +266,7 @@ public:
ReturnedValue get(const StringRef name, bool *hasProperty = 0);
ReturnedValue getIndexed(uint index, bool *hasProperty = 0);
void put(const StringRef name, const ValueRef value);
- void putIndexed(uint index, const Value &value)
- { vtbl->putIndexed(this, index, value); }
+ void putIndexed(uint index, const ValueRef value);
PropertyAttributes query(String *name) const
{ return vtbl->query(this, name); }
PropertyAttributes queryIndexed(uint index) const