From 810a0928cba544697c511acd28d47c208003c6d4 Mon Sep 17 00:00:00 2001 From: Scott Allen Date: Mon, 15 Sep 2014 19:32:33 -0400 Subject: [PATCH] Add destructor for MicroViewWidget base class Destructor added to prevent compiler warning for object delete. --- MicroView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MicroView.h b/MicroView.h index 296956c..0a38d05 100644 --- a/MicroView.h +++ b/MicroView.h @@ -246,7 +246,7 @@ public: /** \brief Draw widget face overridden by child class. */ virtual void drawFace(){}; void reDraw(); - + virtual ~MicroViewWidget(){}; private: uint8_t x; uint8_t y;