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
parent
09f20e75a4
commit
10da6417ee
|
|
@ -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); }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue