diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2009-07-03 08:08:52 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2009-07-03 08:08:52 (GMT) |
commit | 8a0b05f71d2a9481a21143d1b87e2b18d427d1d5 (patch) | |
tree | 0fea01e027da6cfc60f53c0ba6faad9daee62e4b /src | |
parent | 17f814ce07a4d82563012a15a46dfe6acb2edcc5 (diff) | |
download | Qt-8a0b05f71d2a9481a21143d1b87e2b18d427d1d5.zip Qt-8a0b05f71d2a9481a21143d1b87e2b18d427d1d5.tar.gz Qt-8a0b05f71d2a9481a21143d1b87e2b18d427d1d5.tar.bz2 |
fix the test _and_ the class :)
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/tools/qstringbuilder.h | 2 |
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(); |