summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringliteral.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-06-11 19:42:05 +0200
committerLars Knoll <lars.knoll@qt.io>2019-12-08 10:29:09 +0100
commit62c673ccc6f81cee09a25f5acceec2768cea4672 (patch)
tree883720fc4a6d333dbf3afb7b8276bbd33d202ffc /src/corelib/text/qstringliteral.h
parenta3aa2fcfa72ab69bdbded26dcd43e37b35796a17 (diff)
Add reference-count manipulation functions to QArrayData and hide ref
The next change will stop using some values in the reference counter as settings from the data. Change-Id: I94df1fe643896373fac2f000fff55bc7708fc807 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/corelib/text/qstringliteral.h')
-rw-r--r--src/corelib/text/qstringliteral.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qstringliteral.h b/src/corelib/text/qstringliteral.h
index 796909dcab..7b4d2d04f5 100644
--- a/src/corelib/text/qstringliteral.h
+++ b/src/corelib/text/qstringliteral.h
@@ -94,7 +94,7 @@ struct QStaticStringData
QStringData *data_ptr() const
{
- Q_ASSERT(str.ref.isStatic());
+ Q_ASSERT(str.isStatic());
return const_cast<QStringData *>(static_cast<const QStringData*>(&str));
}
};