aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4string.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-05-09 15:45:19 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-05-10 07:37:14 +0000
commit74f0d35c2329c0f2566fea44097ecea614906567 (patch)
treeeeccbfd32ff0ad426d21c91b165d1a2094ebd8b8 /src/qml/jsruntime/qv4string.cpp
parent0eb10519c263187f54ffad5c6d521d88736f2680 (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 <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4string.cpp')
-rw-r--r--src/qml/jsruntime/qv4string.cpp5
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());
-}