projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09f20e7
)
Replace `const QCharRef &` with `QCharRef` where appropriate
author
Konstantin Ritt
<ritt.ks@gmail.com>
Wed, 23 May 2012 02:02:13 +0000
(
05:02
+0300)
committer
Qt by Nokia
<qt-info@nokia.com>
Fri, 25 May 2012 19:49:27 +0000
(21:49 +0200)
in order of consistency with QChar
Change-Id: I8a7cf8960eb64ef177113d4569f1c49ae31c828e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qstringbuilder.h
patch
|
blob
|
history
diff --git
a/src/corelib/tools/qstringbuilder.h
b/src/corelib/tools/qstringbuilder.h
index
2a083c9
..
1f13d0d
100644
(file)
--- a/
src/corelib/tools/qstringbuilder.h
+++ b/
src/corelib/tools/qstringbuilder.h
@@
-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); }
};