qnetworkreplyhttpimpl: use const more
to avoid implicit detach Change-Id: Ifac91e514b069d0426c70bd7e11cc04baca7994b Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
ec6267499e
commit
8c5e5af11f
@ -1726,7 +1726,7 @@ QNetworkCacheMetaData QNetworkReplyHttpImplPrivate::fetchCacheMetaData(const QNe
|
||||
|
||||
// Don't store Warning 1xx headers
|
||||
if (header == "warning") {
|
||||
QByteArray v = q->rawHeader(header);
|
||||
const QByteArray v = q->rawHeader(header);
|
||||
if (v.size() == 3
|
||||
&& v[0] == '1'
|
||||
&& isAsciiDigit(v[1])
|
||||
|
Loading…
x
Reference in New Issue
Block a user