Skip to content

Commit

Permalink
QHttpNetworkRequestPrivate: perform init by init-list in ctor
Browse files Browse the repository at this point in the history
Change-Id: I2a8ced0eff726911daa71eb11e135f69612a9090
Reviewed-by: Marc Mutz <[email protected]>
  • Loading branch information
Anton Kudryavtsev committed Jan 14, 2016
1 parent ed45af5 commit f1b796e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/network/access/qhttpnetworkrequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f1b796e

Please sign in to comment.