diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-06-18 12:26:17 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-28 09:25:05 +0000 |
commit | b719c932b507de5d88a42d698e72c22330905ca9 (patch) | |
tree | 8a8a278e1f4fd55bd0584540358c8bf40f14e73d | |
parent | f2f345e3a7b99693f1816492ac078ed3b0584a4a (diff) |
Just remove the user-provided copy comstructor; the compiler-generated
one is fine. Also = default the default ctor and remove the dtor.
Change-Id: Ic95719ed1987a6bf57cd9d77685ef9b2bd2d945b
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
(cherry picked from commit c4e0610e2dc3cdfdce95d08003a3d57baabdaf59)
-rw-r--r-- | src/remoteobjects/qremoteobjectpendingcall.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/remoteobjects/qremoteobjectpendingcall.h b/src/remoteobjects/qremoteobjectpendingcall.h index 06c5a67..7fe3111 100644 --- a/src/remoteobjects/qremoteobjectpendingcall.h +++ b/src/remoteobjects/qremoteobjectpendingcall.h @@ -112,18 +112,11 @@ class QRemoteObjectPendingReply : public QRemoteObjectPendingCall public: typedef T Type; - inline QRemoteObjectPendingReply() + QRemoteObjectPendingReply() = default; + explicit QRemoteObjectPendingReply(const QRemoteObjectPendingCall &call) + : QRemoteObjectPendingCall(call) { } - inline QRemoteObjectPendingReply(const QRemoteObjectPendingReply &other) - : QRemoteObjectPendingCall(other) - { - } - explicit inline QRemoteObjectPendingReply(const QRemoteObjectPendingCall &call) - { - *this = call; - } - inline ~QRemoteObjectPendingReply() {} QRemoteObjectPendingReply &operator=(const QRemoteObjectPendingCall &other) { |