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>
bb10
Olivier Goffart 2020-01-03 12:07:43 +01:00
parent 4e93e3b574
commit 2cbc5f6f7a
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ public:
{
*this = reply;
}
inline QDBusReply(const QDBusReply &) = default;
inline QDBusReply& operator=(const QDBusMessage &reply)
{
QVariant data(qMetaTypeId<Type>(), nullptr);