QDBusConnectionPrivate::ObjectTreeNode: remove pointless empty dtor

It just prevents the compiler from synthesizing move
special member functions, something that is very much
desired, seeing as there's a QVector member.

Change-Id: I4daabb380cd73dcacf3f514827b84562767a7a20
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Marc Mutz 2015-12-23 14:31:10 +01:00
parent 66d94ea30b
commit a7d631e44b

View File

@ -138,7 +138,6 @@ public:
inline ObjectTreeNode() : obj(0), flags(0) { } inline ObjectTreeNode() : obj(0), flags(0) { }
inline ObjectTreeNode(const QString &n) // intentionally implicit inline ObjectTreeNode(const QString &n) // intentionally implicit
: name(n), obj(0), flags(0) { } : name(n), obj(0), flags(0) { }
inline ~ObjectTreeNode() { }
inline bool operator<(const QString &other) const inline bool operator<(const QString &other) const
{ return name < other; } { return name < other; }
inline bool operator<(const QStringRef &other) const inline bool operator<(const QStringRef &other) const