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
This commit is contained in:
parent
062303244a
commit
7f9dc8625b
1 changed files with 0 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue