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
parent
4e93e3b574
commit
2cbc5f6f7a
|
|
@ -64,6 +64,7 @@ public:
|
|||
{
|
||||
*this = reply;
|
||||
}
|
||||
inline QDBusReply(const QDBusReply &) = default;
|
||||
inline QDBusReply& operator=(const QDBusMessage &reply)
|
||||
{
|
||||
QVariant data(qMetaTypeId<Type>(), nullptr);
|
||||
|
|
|
|||
Loading…
Reference in New Issue