From f1b796e3badaeaecfff564fc6a06df37da515333 Mon Sep 17 00:00:00 2001 From: Anton Kudryavtsev Date: Wed, 13 Jan 2016 13:39:50 +0300 Subject: QHttpNetworkRequestPrivate: perform init by init-list in ctor Change-Id: I2a8ced0eff726911daa71eb11e135f69612a9090 Reviewed-by: Marc Mutz --- src/network/access/qhttpnetworkrequest.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/network/access/qhttpnetworkrequest.cpp') 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() -- cgit v1.2.3