Commit f1b796e3 authored by Anton Kudryavtsev's avatar Anton Kudryavtsev
Browse files

QHttpNetworkRequestPrivate: perform init by init-list in ctor


Change-Id: I2a8ced0eff726911daa71eb11e135f69612a9090
Reviewed-by: default avatarMarc Mutz <marc.mutz@kdab.com>
Showing with 15 additions and 15 deletions
...@@ -46,21 +46,21 @@ QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(QHttpNetworkRequest::Oper ...@@ -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),
operation = other.operation; customVerb(other.customVerb),
priority = other.priority; priority(other.priority),
uploadByteDevice = other.uploadByteDevice; uploadByteDevice(other.uploadByteDevice),
autoDecompress = other.autoDecompress; autoDecompress(other.autoDecompress),
pipeliningAllowed = other.pipeliningAllowed; pipeliningAllowed(other.pipeliningAllowed),
spdyAllowed = other.spdyAllowed; spdyAllowed(other.spdyAllowed),
customVerb = other.customVerb; withCredentials(other.withCredentials),
withCredentials = other.withCredentials; ssl(other.ssl),
ssl = other.ssl; preConnect(other.preConnect),
preConnect = other.preConnect; followRedirect(other.followRedirect),
followRedirect = other.followRedirect; redirectCount(other.redirectCount)
redirectCount = other.redirectCount; {
} }
QHttpNetworkRequestPrivate::~QHttpNetworkRequestPrivate() QHttpNetworkRequestPrivate::~QHttpNetworkRequestPrivate()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment