diff options
author | Lars Knoll <lars.knoll@qt.io> | 2019-11-13 09:29:42 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2019-12-08 18:20:38 +0100 |
commit | 063e39df13dd53975d7d6615aa9f7e8429648aed (patch) | |
tree | c1413cf52d7b8bf3dc831875a102b2e63fdb7980 /tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp | |
parent | 7cc977759b84204427c1667e5b21ac75c3f7f5ab (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 'tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp')
-rw-r--r-- | tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp b/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp index c6b3a796da..576b29f7a3 100644 --- a/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp +++ b/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp @@ -2003,7 +2003,7 @@ void tst_QByteArray::byteRefDetaching() const { { QByteArray str = "str"; - QByteArray copy; + QByteArray copy = str; copy[0] = 'S'; QCOMPARE(str, QByteArray("str")); |