Skip to content

Commit 7a3c32f

Browse files
authored
Merge pull request #144 from TD-er/feature/virtualDestructr
#143 Use virtual destructor on base class
2 parents 4f9bfc2 + 9817761 commit 7a3c32f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OLEDDisplay.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ typedef byte (*FontTableLookupFunction)(const byte ch);
112112

113113
class OLEDDisplay : public Print {
114114
public:
115+
virtual ~OLEDDisplay() {}
115116

116117
// Initialize the display
117118
bool init();

0 commit comments

Comments
 (0)