diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-07-13 22:52:30 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-15 13:07:10 +0200 |
commit | a7383b4b6dde54569e6fdfa0888e474a37416a51 (patch) | |
tree | b3349898e646463e87599e37cec90868dd5f1e3a /.gitattributes | |
parent | efa183309e69f317189ef06fb1f13b60da9d7c63 (diff) |
QNetworkRequest: make the default ctor implicit
As in QVarLengthArray (c34242c679aaea6ee1badf6c1e5f274f925f5f50), this will
probably bite someone someday, so fix it before there's a bug report.
Use ctor delegation to keep code size increase small.
There's also the benefit that default-constructing a QNetworkRequest now
no longer creates an expensive QUrl object just to destroy it unused again.
Add an auto-test.
Change-Id: I5ceb5402ca3946048d695244d1b1c36564a1e80a
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions