summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringliteral.h
diff options
context:
space:
mode:
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));
}
};