summaryrefslogtreecommitdiffstats
path: root/src/network/access/http2/bitstreams_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-03-09 16:09:53 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-03-11 20:15:48 +0100
commit91fbe3fe7812af236aa2ea3f76926de5760a7b91 (patch)
tree2742ad9a5796418e42ee1aba9dd795f83fbd01a9 /src/network/access/http2/bitstreams_p.h
parent5295043908edd22a1e0a653deabc41f5c2970647 (diff)
HTTP2: port to QByteArrayView where it's trivial
Nothing serious, just was curious and played around a bit, so might as well merge it. There's much more here that could be done, but I lack the time to do it. Change-Id: Idd4ea09a7a413ed5911ffe16841f3d5c944ec1a5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/access/http2/bitstreams_p.h')
-rw-r--r--src/network/access/http2/bitstreams_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/http2/bitstreams_p.h b/src/network/access/http2/bitstreams_p.h
index fd1ed9cc30..60ff916c92 100644
--- a/src/network/access/http2/bitstreams_p.h
+++ b/src/network/access/http2/bitstreams_p.h
@@ -79,7 +79,7 @@ public:
// * 32-bit integers
// * strings
void write(quint32 src);
- void write(const QByteArray &src, bool compressed);
+ void write(QByteArrayView src, bool compressed);
quint64 bitLength() const;
quint64 byteLength() const;