summaryrefslogtreecommitdiffstats
path: root/tests/auto/qurl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qurl')
-rw-r--r--tests/auto/qurl/tst_qurl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qurl/tst_qurl.cpp b/tests/auto/qurl/tst_qurl.cpp
index 94abbb3..78ea146 100644
--- a/tests/auto/qurl/tst_qurl.cpp
+++ b/tests/auto/qurl/tst_qurl.cpp
@@ -3062,7 +3062,7 @@ void tst_QUrl::nameprep_testsuite_data()
#ifdef QT_BUILD_INTERNAL
QT_BEGIN_NAMESPACE
extern void qt_nameprep(QString *source, int from);
-extern bool qt_check_std3rules(const QStringRef &);
+extern bool qt_check_std3rules(const QChar *, int);
QT_END_NAMESPACE
#endif
@@ -3215,7 +3215,7 @@ void tst_QUrl::std3violations()
{
QString prepped = source;
qt_nameprep(&prepped, 0);
- QVERIFY(!qt_check_std3rules(QStringRef(&prepped)));
+ QVERIFY(!qt_check_std3rules(prepped.constData(), prepped.length()));
}
if (source.contains('.'))