diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-09 19:00:56 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-03-18 01:22:54 +0100 |
commit | e0206fe9d47bfbf18a0d4c2e5e780504305f72e7 (patch) | |
tree | a9ff06cf00d4c9e5bd3fa3f266309cc4f35e24a4 /src/corelib/text/qbytearray.h | |
parent | Tidy up QByteArray::toPercentEncoding() (diff) | |
download | qtbase-e0206fe9d47bfbf18a0d4c2e5e780504305f72e7.tar.xz qtbase-e0206fe9d47bfbf18a0d4c2e5e780504305f72e7.zip |
Get rid of QByteArray::nulTerminated()
It is private and was not called by anything inline, even in 5.15, so
can safely be removed without causing binary incompatibilities, now
that it is no longer used even out-of-line.
Task-number: QTBUG-74286
Change-Id: Iaec3877079746bd9ba7d1a39efbfb2711e7c00a5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/text/qbytearray.h')
-rw-r--r-- | src/corelib/text/qbytearray.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/text/qbytearray.h b/src/corelib/text/qbytearray.h index 5a6dc354ba..f3c167d217 100644 --- a/src/corelib/text/qbytearray.h +++ b/src/corelib/text/qbytearray.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2020 The Qt Company Ltd. +** Copyright (C) 2022 The Qt Company Ltd. ** Copyright (C) 2016 Intel Corporation. ** Contact: https://www.qt.io/licensing/ ** @@ -485,7 +485,6 @@ private: void reallocData(qsizetype alloc, QArrayData::AllocationOption option); void reallocGrowData(qsizetype n); void expand(qsizetype i); - QByteArray nulTerminated() const; static QByteArray toLower_helper(const QByteArray &a); static QByteArray toLower_helper(QByteArray &a); |