diff options
author | Ulf Hermann <[email protected]> | 2019-05-09 15:45:19 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2019-05-10 07:37:14 +0000 |
commit | 74f0d35c2329c0f2566fea44097ecea614906567 (patch) | |
tree | eeccbfd32ff0ad426d21c91b165d1a2094ebd8b8 /src/qml/jsruntime/qv4string.cpp | |
parent | 0eb10519c263187f54ffad5c6d521d88736f2680 (diff) |
Move qv4string{_p.h|.cpp} out of the devtools
The only thing we actually need is toArrayIndex() and that is a static
method. We provide it in a separate file.
Change-Id: I86b11e3d81a319202a0babacd17d87e7816ac88a
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4string.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4string.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4string.cpp b/src/qml/jsruntime/qv4string.cpp index 68d65f2e24..24a17bf5d5 100644 --- a/src/qml/jsruntime/qv4string.cpp +++ b/src/qml/jsruntime/qv4string.cpp @@ -256,8 +256,3 @@ qint64 String::virtualGetLength(const Managed *m) } #endif // V4_BOOTSTRAP - -uint String::toArrayIndex(const QString &str) -{ - return QV4::String::toArrayIndex(str.constData(), str.constData() + str.length()); -} |