diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-06-23 22:25:53 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-07-02 19:29:40 +0000 |
commit | 86f88521fbea59e8ec53e50cc1e3e68a61f53c40 (patch) | |
tree | 25f72eaf70639409d3c8a8469a05b7be0a0da03b /src/qml/jsruntime/qv4string_p.h | |
parent | 8728a2b494eb384b65bd4e7c6ec785435a37de9d (diff) |
Replace Identifier by PropertyKey
Change all uses of Identifier to use the new PropertyKey class
and get rid of Identifier.
Change-Id: Ib7e83b06a3c923235e145b6e083fe980dc240452
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4string_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4string_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4string_p.h b/src/qml/jsruntime/qv4string_p.h index 2e3ca977bf..81cb54d9cc 100644 --- a/src/qml/jsruntime/qv4string_p.h +++ b/src/qml/jsruntime/qv4string_p.h @@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE namespace QV4 { struct ExecutionEngine; -struct Identifier; +struct PropertyKey; namespace Heap { @@ -77,7 +77,7 @@ struct Q_QML_PRIVATE_EXPORT StringOrSymbol : Base }; mutable QStringData *text; - mutable Identifier identifier; + mutable PropertyKey identifier; mutable uint subtype; mutable uint stringHash; @@ -174,11 +174,11 @@ struct Q_QML_PRIVATE_EXPORT StringOrSymbol : public Managed { }; inline void makeIdentifier() const; - Identifier identifier() const { return d()->identifier; } + PropertyKey identifier() const { return d()->identifier; } uint asArrayIndex() const; - Identifier toPropertyKey() const; + PropertyKey toPropertyKey() const; inline QString toQString() const { return d()->toQString(); |