From 00f62e4f3db5aa737b4242a3d691d2ade299fc72 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Dec 2017 19:29:05 +0300 Subject: Add missing override and final to destructors. Also remove some empty destructors. --- src/gui/widgets/widget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/widget.h') diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h index bb41054d2..fc045a24a 100644 --- a/src/gui/widgets/widget.h +++ b/src/gui/widgets/widget.h @@ -111,7 +111,7 @@ class Widget notfinal : public Widget2 /** * Default destructor. */ - virtual ~Widget(); + ~Widget() override; /** * Draws the widget. It is called by the parent widget when it is time -- cgit v1.2.3-60-g2f50