summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringbuilder.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-11-13 09:29:42 +0100
committerLars Knoll <lars.knoll@qt.io>2019-12-08 18:20:38 +0100
commit063e39df13dd53975d7d6615aa9f7e8429648aed (patch)
treec1413cf52d7b8bf3dc831875a102b2e63fdb7980 /src/corelib/text/qstringbuilder.h
parent7cc977759b84204427c1667e5b21ac75c3f7f5ab (diff)
Get rid of QCharRef and QByteRef
We already detach immediately since change c2d2757bccc68e1b981df059786c2e76f2969530. That basically removes the main purpose of having QChar/ByteRef, and we can just as well get rid of those classes for Qt 6. Change-Id: I8dc566a1948ddc29c0cb8a77ec7310654a7219a4 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/corelib/text/qstringbuilder.h')
-rw-r--r--src/corelib/text/qstringbuilder.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/corelib/text/qstringbuilder.h b/src/corelib/text/qstringbuilder.h
index 288d98d633..45fd270b66 100644
--- a/src/corelib/text/qstringbuilder.h
+++ b/src/corelib/text/qstringbuilder.h
@@ -231,16 +231,6 @@ template <> struct QConcatenable<QChar::SpecialCharacter> : private QAbstractCon
{ *out++ = c; }
};
-template <> struct QConcatenable<QCharRef> : private QAbstractConcatenable
-{
- typedef QCharRef type;
- typedef QString ConvertTo;
- enum { ExactSize = true };
- static int size(QCharRef) { return 1; }
- static inline void appendTo(QCharRef c, QChar *&out)
- { *out++ = QChar(c); }
-};
-
template <> struct QConcatenable<QLatin1String> : private QAbstractConcatenable
{
typedef QLatin1String type;