summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/text
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-11-14 11:40:46 +0100
committerLars Knoll <lars.knoll@qt.io>2019-12-08 21:51:39 +0100
commitf8d2975b6a8b36bf8dd304c99783947a72081b79 (patch)
tree220515d469692475dfde18b8c971bf74f3959abd /tests/auto/corelib/text
parent20041afe3bdb3d3476c02897b8da288cba6011f4 (diff)
Use QString::DataPointer instead of QStringPrivate
Preparations to move QString over to use QArrayDataPointer instead of it's own private struct. Change-Id: I7796a595393394083f6a85863e3c710ebbdea149 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/text')
-rw-r--r--tests/auto/corelib/text/qstring/tst_qstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qstring/tst_qstring.cpp b/tests/auto/corelib/text/qstring/tst_qstring.cpp
index 4f3ebe869d..d88f93b25a 100644
--- a/tests/auto/corelib/text/qstring/tst_qstring.cpp
+++ b/tests/auto/corelib/text/qstring/tst_qstring.cpp
@@ -605,7 +605,7 @@ QString verifyZeroTermination(const QString &str)
{
// This test does some evil stuff, it's all supposed to work.
- QString::DataPtr strDataPtr = const_cast<QString &>(str).data_ptr();
+ QString::DataPointer strDataPtr = const_cast<QString &>(str).data_ptr();
// Skip if isStatic() or fromRawData(), as those offer no guarantees
if (strDataPtr.d->isStatic() || !strDataPtr.d->isMutable())