diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-07-08 14:33:15 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-18 12:05:28 +0200 |
commit | 8abef0277797724b153cb08c11bf498efc6d460d (patch) | |
tree | 00641d53530a2f3d0b59a2d2aaf1cc4913b0e883 /src/gui/image/qmovie.cpp | |
parent | c187d5824487b1d5f04bc504c04608c562922d4a (diff) |
QHostInfo: add nothrow move constructor
QHostInfo isn't implicitly shared. The more important to optimize away
copies by providing a move constructor.
Port from QScopedPointer to Q_DECLARE_PRIVATE, as otherwise the move
ctor can't be inline, and we don't implement move ctors out-of-line in
Qt.
[ChangeLog][QtNetwork][QHostInfo] Added move contructor.
Change-Id: I6b63a04e36f63e299205830fdc590ff7e2af338b
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/gui/image/qmovie.cpp')
0 files changed, 0 insertions, 0 deletions