| @@ -151,7 +151,7 @@ public: | |||||
| /** | /** | ||||
| Destructor. | Destructor. | ||||
| */ | */ | ||||
| virtual ~CairoBaseWidget() {} | |||||
| ~CairoBaseWidget() override {} | |||||
| protected: | protected: | ||||
| /** | /** | ||||
| @@ -940,7 +940,7 @@ public: | |||||
| /** | /** | ||||
| Destructor. | Destructor. | ||||
| */ | */ | ||||
| virtual ~NanoBaseWidget() {} | |||||
| ~NanoBaseWidget() override {} | |||||
| protected: | protected: | ||||
| /** | /** | ||||
| @@ -238,11 +238,11 @@ public: | |||||
| // FIXME this should not be needed | // FIXME this should not be needed | ||||
| inline void loadFromMemory(const char* rdata, uint w, uint h, ImageFormat fmt = kImageFormatBGRA) | inline void loadFromMemory(const char* rdata, uint w, uint h, ImageFormat fmt = kImageFormatBGRA) | ||||
| { loadFromMemory(rdata, Size<uint>(w, h), fmt); }; | |||||
| { loadFromMemory(rdata, Size<uint>(w, h), fmt); } | |||||
| inline void draw(const GraphicsContext& context) | inline void draw(const GraphicsContext& context) | ||||
| { drawAt(context, Point<int>(0, 0)); }; | |||||
| { drawAt(context, Point<int>(0, 0)); } | |||||
| inline void drawAt(const GraphicsContext& context, int x, int y) | inline void drawAt(const GraphicsContext& context, int x, int y) | ||||
| { drawAt(context, Point<int>(x, y)); }; | |||||
| { drawAt(context, Point<int>(x, y)); } | |||||
| /** | /** | ||||
| Constructor using raw image data, specifying an OpenGL image format. | Constructor using raw image data, specifying an OpenGL image format. | ||||
| @@ -47,7 +47,7 @@ public: | |||||
| /** | /** | ||||
| Destructor. | Destructor. | ||||
| */ | */ | ||||
| virtual ~SubWidget(); | |||||
| ~SubWidget() override; | |||||
| /** | /** | ||||
| Check if this widget contains the point defined by @a x and @a y. | Check if this widget contains the point defined by @a x and @a y. | ||||
| @@ -54,7 +54,7 @@ public: | |||||
| /** | /** | ||||
| Destructor. | Destructor. | ||||
| */ | */ | ||||
| virtual ~TopLevelWidget(); | |||||
| ~TopLevelWidget() override; | |||||
| /** | /** | ||||
| Get the application associated with this top-level widget's window. | Get the application associated with this top-level widget's window. | ||||
| @@ -89,7 +89,7 @@ public: | |||||
| /** | /** | ||||
| Destructor. | Destructor. | ||||
| */ | */ | ||||
| virtual ~UI(); | |||||
| ~UI() override; | |||||
| /* -------------------------------------------------------------------------------------------------------- | /* -------------------------------------------------------------------------------------------------------- | ||||
| * Host state */ | * Host state */ | ||||
| @@ -199,7 +199,7 @@ public: | |||||
| puglBackendEnter(pData->view); | puglBackendEnter(pData->view); | ||||
| } | } | ||||
| ~PluginWindow() | |||||
| ~PluginWindow() override | |||||
| { | { | ||||
| if (pData->view != nullptr) | if (pData->view != nullptr) | ||||
| puglBackendLeave(pData->view); | puglBackendLeave(pData->view); | ||||