summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstring.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-07-27 12:30:08 +0300
committerMarc Mutz <marc.mutz@kdab.com>2019-07-29 21:07:17 +0300
commit353a6946b19c5e4ee54cc37e4b34685cacd77a3c (patch)
tree5eed1498f56aacd7f59298f1289edad5f43bc55c /src/corelib/text/qstring.h
parent4628351c3f53e3239e304b906a0f6f9a6daab985 (diff)
qstringalgorithms.h: add pure, noexcept, constexpr
... where they were missing. Change-Id: I58c32e57675b5d5ee500722933ef4a356a679e46 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/text/qstring.h')
-rw-r--r--src/corelib/text/qstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qstring.h b/src/corelib/text/qstring.h
index 06ebb05fc7..88286b902a 100644
--- a/src/corelib/text/qstring.h
+++ b/src/corelib/text/qstring.h
@@ -235,7 +235,7 @@ QT_DEPRECATED_X("Use QLatin1String") typedef QLatin1String QLatin1Literal;
//
// QLatin1String inline implementations
//
-inline bool QtPrivate::isLatin1(QLatin1String) noexcept
+Q_DECL_CONSTEXPR bool QtPrivate::isLatin1(QLatin1String) noexcept
{ return true; }
//