From 5a9c7a43b698813712b036794c1676f2aecc094c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 12 Feb 2017 11:28:24 +0100 Subject: Remove unused private Canvas mem --- plugingui/painter.cc | 3 +-- plugingui/painter.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/plugingui/painter.cc b/plugingui/painter.cc index 4e7e8ba..16e305f 100644 --- a/plugingui/painter.cc +++ b/plugingui/painter.cc @@ -39,8 +39,7 @@ namespace GUI { Painter::Painter(Canvas& canvas) - : canvas(canvas) - , pixbuf(canvas.GetPixelBuffer()) + : pixbuf(canvas.GetPixelBuffer()) { colour = Colour(0.0f, 0.0f, 0.0f, 0.5f); } diff --git a/plugingui/painter.h b/plugingui/painter.h index 3f3c2bb..df26b3e 100644 --- a/plugingui/painter.h +++ b/plugingui/painter.h @@ -82,7 +82,6 @@ public: void clear(); private: - Canvas& canvas; PixelBufferAlpha& pixbuf; Colour colour; }; -- cgit v1.2.3