diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-09-23 12:10:12 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-09-27 08:33:55 +0000 |
commit | f63d48d474db7e9eff7583f1b8478228b13d3c82 (patch) | |
tree | 4bc1dd1f4f7b2f9a5df5b40247e1a8245169b903 /src/qml/jsruntime/qv4object_p.h | |
parent | 1804fea8893c355dbd585e373cb9644387410a92 (diff) |
Differentiate between finding for get and set in InternalClass
This is required, so we can get rid of the requirement that
getter and setter live next to each other in the member data.
Change-Id: I2ed57a171628af4dfecd1836d00e958c6bed9d4f
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4object_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h index c9b0ff7e1f..a32f8a4dac 100644 --- a/src/qml/jsruntime/qv4object_p.h +++ b/src/qml/jsruntime/qv4object_p.h @@ -197,7 +197,7 @@ struct Q_QML_EXPORT Object: Managed { } static ReturnedValue getValueAccessor(const Value &thisObject, const Value &v, PropertyAttributes attrs); - bool putValue(uint memberIndex, const Value &value); + bool putValue(uint memberIndex, PropertyAttributes attrs, const Value &value); /* The spec default: Writable: true, Enumerable: false, Configurable: true */ void defineDefaultProperty(StringOrSymbol *name, const Value &value, PropertyAttributes attributes = Attr_Data|Attr_NotEnumerable) { |