summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qstringbuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstringbuilder.h b/src/corelib/tools/qstringbuilder.h
index 127c183..97f13ee 100644
--- a/src/corelib/tools/qstringbuilder.h
+++ b/src/corelib/tools/qstringbuilder.h
@@ -206,7 +206,7 @@ template <> struct QConcatenable<const char *>
template <> struct QConcatenable<QByteArray>
{
typedef QByteArray type;
- static int size(const QByteArray &ba) { qstrnlen(ba.constData(), ba.size()); }
+ static int size(const QByteArray &ba) { return qstrnlen(ba.constData(), ba.size()); }
static inline void appendTo(const QByteArray &ba, QChar *&out)
{
const char *data = ba.constData();