summaryrefslogtreecommitdiff
path: root/plugingui/canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/canvas.h')
-rw-r--r--plugingui/canvas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/canvas.h b/plugingui/canvas.h
index 8cfe083..cafe483 100644
--- a/plugingui/canvas.h
+++ b/plugingui/canvas.h
@@ -35,6 +35,8 @@ namespace GUI
class Canvas
{
public:
+ virtual ~Canvas() = default;
+
//! @returns a reference to the pixel buffer.
virtual PixelBufferAlpha& GetPixelBuffer() = 0;