Replace `const QCharRef &` with `QCharRef` where appropriate

in order of consistency with QChar

Change-Id: I8a7cf8960eb64ef177113d4569f1c49ae31c828e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Konstantin Ritt 2012-05-23 05:02:13 +03:00 committed by Qt by Nokia
parent 09f20e75a4
commit 10da6417ee
1 changed files with 2 additions and 2 deletions

View File

@ -217,8 +217,8 @@ template <> struct QConcatenable<QCharRef> : private QAbstractConcatenable
typedef QCharRef type;
typedef QString ConvertTo;
enum { ExactSize = true };
static int size(const QCharRef &) { return 1; }
static inline void appendTo(const QCharRef &c, QChar *&out)
static int size(QCharRef) { return 1; }
static inline void appendTo(QCharRef c, QChar *&out)
{ *out++ = QChar(c); }
};