diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2020-01-03 12:07:43 +0100 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2020-01-14 16:52:34 +0100 |
commit | 2cbc5f6f7ae8ba580126a7cafc1898377c2a2407 (patch) | |
tree | bbcbbd82987b84c551667fb04a2d6373cfeb0727 /src/dbus | |
parent | 4e93e3b574390829c4c3c87716e0a9bb5ed579e4 (diff) |
Fix -Wdeprecated-copy warning
QDBusReply has an user-specified operator= but no copy constructor.
Change-Id: If7fcec3193af375f1bf2dd913d82548d6e035b48
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus')
-rw-r--r-- | src/dbus/qdbusreply.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus/qdbusreply.h b/src/dbus/qdbusreply.h index 869687ac85..8cdc0ae246 100644 --- a/src/dbus/qdbusreply.h +++ b/src/dbus/qdbusreply.h @@ -64,6 +64,7 @@ public: { *this = reply; } + inline QDBusReply(const QDBusReply &) = default; inline QDBusReply& operator=(const QDBusMessage &reply) { QVariant data(qMetaTypeId<Type>(), nullptr); |