QHttpNetworkRequestPrivate: perform init by init-list in ctor

Change-Id: I2a8ced0eff726911daa71eb11e135f69612a9090
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
Anton Kudryavtsev 2016-01-13 13:39:50 +03:00
parent ed45af5f3c
commit f1b796e3ba

View File

@ -46,21 +46,21 @@ QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(QHttpNetworkRequest::Oper
{ {
} }
QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(const QHttpNetworkRequestPrivate &other) QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(const QHttpNetworkRequestPrivate &other) // = default
: QHttpNetworkHeaderPrivate(other) : 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)
{ {
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() QHttpNetworkRequestPrivate::~QHttpNetworkRequestPrivate()