Remove pointless destructors

Summary:
Neither WaylandCompositor nor X11Compositor have at least one smart
pointer field that points to an incomplete class type, so the destructors
are kind of useless.

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D23747
icc-effect-5.17.5
Vlad Zagorodniy 2019-09-05 23:03:46 +03:00
parent 062303244a
commit 7f9dc8625b
1 changed files with 0 additions and 2 deletions

View File

@ -180,7 +180,6 @@ class KWIN_EXPORT WaylandCompositor : public Compositor
Q_OBJECT
public:
static WaylandCompositor *create(QObject *parent = nullptr);
~WaylandCompositor() override = default;
int refreshRate() const override;
@ -207,7 +206,6 @@ public:
Q_DECLARE_FLAGS(SuspendReasons, SuspendReason)
static X11Compositor *create(QObject *parent = nullptr);
~X11Compositor() override = default;
/**
* @brief Suspends the Compositor if it is currently active.