Skip to content

Commit a9aa10f

Browse files
authored
BUG: Fixes overrides a destructor but is not marked 'override' (#836)
- If compiling with flag [-Werror,-Winconsistent-missing-destructor-override]
1 parent 7b30229 commit a9aa10f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/DockAreaTitleBar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public Q_SLOTS:
176176
/**
177177
* Virtual Destructor
178178
*/
179-
virtual ~CDockAreaTitleBar();
179+
~CDockAreaTitleBar() override;
180180

181181
/**
182182
* Returns the pointer to the tabBar()

src/DockWidgetTab.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private Q_SLOTS:
9191
/**
9292
* Virtual Destructor
9393
*/
94-
virtual ~CDockWidgetTab();
94+
~CDockWidgetTab() override;
9595

9696
/**
9797
* Returns true, if this is the active tab

0 commit comments

Comments
 (0)