diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2010-04-07 12:09:20 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-04-26 15:16:21 (GMT) |
commit | 2e95891d29cb115dfadd57076e215030cd255489 (patch) | |
tree | 023ecb5f9335a6541e5bf6dc520adbede4cde4af /src/network/access | |
parent | ed692616c6a358ccfbdb10b716d6d5829a92f7bb (diff) | |
download | Qt-2e95891d29cb115dfadd57076e215030cd255489.zip Qt-2e95891d29cb115dfadd57076e215030cd255489.tar.gz Qt-2e95891d29cb115dfadd57076e215030cd255489.tar.bz2 |
QNAM: Use a reference in appendDownstreamData
Diffstat (limited to 'src/network/access')
-rw-r--r-- | src/network/access/qnetworkreplyimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkreplyimpl.cpp b/src/network/access/qnetworkreplyimpl.cpp index 4f35358..0f5bdd0 100644 --- a/src/network/access/qnetworkreplyimpl.cpp +++ b/src/network/access/qnetworkreplyimpl.cpp @@ -448,7 +448,7 @@ void QNetworkReplyImplPrivate::appendDownstreamData(QByteDataBuffer &data) qint64 bytesWritten = 0; for (int i = 0; i < data.bufferCount(); i++) { - QByteArray item = data[i]; + QByteArray const &item = data[i]; if (cacheSaveDevice) cacheSaveDevice->write(item.constData(), item.size()); |