summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qchar.h
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2011-10-18 16:44:54 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-26 19:59:36 +0200
commit42402a1672ba47457c27cc6efacb763030f0121a (patch)
tree951b8d8bb8b3371cea99a3da09411912affa55e5 /src/corelib/tools/qchar.h
parent82d6518696cdfeec88b7bdbffccc5b1521c18785 (diff)
replace 'const QChar &' with 'QChar ' for QChar and QString
Merge-request: 69 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Change-Id: I61f5a54b783252029fcad95677958fa6a2130d01 Reviewed-by: Olivier Goffart <ogoffart@kde.org>
Diffstat (limited to 'src/corelib/tools/qchar.h')
-rw-r--r--src/corelib/tools/qchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qchar.h b/src/corelib/tools/qchar.h
index 65b914cbfc..1bc6962ca1 100644
--- a/src/corelib/tools/qchar.h
+++ b/src/corelib/tools/qchar.h
@@ -361,7 +361,7 @@ inline bool operator<(QChar c1, QChar c2) { return c1.unicode() < c2.unicode();
inline bool operator>(QChar c1, QChar c2) { return c1.unicode() > c2.unicode(); }
#ifndef QT_NO_DATASTREAM
-Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QChar &);
+Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QChar &);
#endif