QHttpNetworkRequestPrivate: perform init by init-list in ctor
Change-Id: I2a8ced0eff726911daa71eb11e135f69612a9090 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
ed45af5f3c
commit
f1b796e3ba
@ -46,21 +46,21 @@ QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(QHttpNetworkRequest::Oper
|
||||
{
|
||||
}
|
||||
|
||||
QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(const QHttpNetworkRequestPrivate &other)
|
||||
: QHttpNetworkHeaderPrivate(other)
|
||||
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)
|
||||
{
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user