summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-01-13 13:39:50 +0300
committerAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-01-14 12:49:49 +0000
commitf1b796e3badaeaecfff564fc6a06df37da515333 (patch)
tree5b728c5990a58eedb7c15e8771aa4ce75025cfef
parented45af5f3c01b9094a075f17c39c784926e29034 (diff)
QHttpNetworkRequestPrivate: perform init by init-list in ctor
Change-Id: I2a8ced0eff726911daa71eb11e135f69612a9090 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r--src/network/access/qhttpnetworkrequest.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/network/access/qhttpnetworkrequest.cpp b/src/network/access/qhttpnetworkrequest.cpp
index 64172fc4fd..f31c24b6a4 100644
--- a/src/network/access/qhttpnetworkrequest.cpp
+++ b/src/network/access/qhttpnetworkrequest.cpp
@@ -46,21 +46,21 @@ QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(QHttpNetworkRequest::Oper
{
}
-QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(const QHttpNetworkRequestPrivate &other)
- : QHttpNetworkHeaderPrivate(other)
-{
- operation = other.operation;
- priority = other.priority;
- uploadByteDevice = other.uploadByteDevice;
- autoDecompress = other.autoDecompress;
- pipeliningAllowed = other.pipeliningAllowed;
- spdyAllowed = other.spdyAllowed;
- customVerb = other.customVerb;
- withCredentials = other.withCredentials;
- ssl = other.ssl;
- preConnect = other.preConnect;
- followRedirect = other.followRedirect;
- redirectCount = other.redirectCount;
+QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(const QHttpNetworkRequestPrivate &other) // = default
+ : QHttpNetworkHeaderPrivate(other),
+ operation(other.operation),
+ customVerb(other.customVerb),
+ priority(other.priority),
+ uploadByteDevice(other.uploadByteDevice),
+ autoDecompress(other.autoDecompress),
+ pipeliningAllowed(other.pipeliningAllowed),
+ spdyAllowed(other.spdyAllowed),
+ withCredentials(other.withCredentials),
+ ssl(other.ssl),
+ preConnect(other.preConnect),
+ followRedirect(other.followRedirect),
+ redirectCount(other.redirectCount)
+{
}
QHttpNetworkRequestPrivate::~QHttpNetworkRequestPrivate()