diff options
Diffstat (limited to 'src/qml/jsruntime/qv4typedarray.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4typedarray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4typedarray.cpp b/src/qml/jsruntime/qv4typedarray.cpp index 9d052456ef..faf7934c06 100644 --- a/src/qml/jsruntime/qv4typedarray.cpp +++ b/src/qml/jsruntime/qv4typedarray.cpp @@ -501,7 +501,7 @@ bool TypedArray::virtualHasProperty(const Managed *m, PropertyKey id) return true; } -PropertyAttributes TypedArray::virtualGetOwnProperty(Managed *m, PropertyKey id, Property *p) +PropertyAttributes TypedArray::virtualGetOwnProperty(const Managed *m, PropertyKey id, Property *p) { uint index = id.asArrayIndex(); if (index == UINT_MAX && !id.isCanonicalNumericIndexString()) |