summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringbuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qstringbuilder.h')
-rw-r--r--src/corelib/text/qstringbuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qstringbuilder.h b/src/corelib/text/qstringbuilder.h
index 512b7e7bf7..da4277f9a8 100644
--- a/src/corelib/text/qstringbuilder.h
+++ b/src/corelib/text/qstringbuilder.h
@@ -193,7 +193,7 @@ template <> struct QConcatenable<char16_t> : private QAbstractConcatenable
typedef char16_t type;
typedef QString ConvertTo;
enum { ExactSize = true };
- static Q_DECL_CONSTEXPR int size(char16_t) { return 1; }
+ static constexpr int size(char16_t) { return 1; }
static inline void appendTo(char16_t c, QChar *&out)
{ *out++ = c; }
};