Mark override for virtual destructors

PR #19348.
This commit is contained in:
Chocobo1
2023-07-22 12:46:21 +08:00
committed by GitHub
parent c20a77aa77
commit 56c52af124
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ class MainWindow;
class IGUIApplication : public IApplication
{
public:
virtual ~IGUIApplication() = default;
~IGUIApplication() override = default;
virtual DesktopIntegration *desktopIntegration() = 0;
virtual MainWindow *mainWindow() = 0;

View File

@@ -41,7 +41,7 @@ class PowerManagementInhibitor final : public QObject
public:
PowerManagementInhibitor(QObject *parent = nullptr);
virtual ~PowerManagementInhibitor() = default;
~PowerManagementInhibitor() override = default;
void requestIdle();
void requestBusy();