Compile warning on Adafruit_SSD1306 lib implementation
/home/ubuntu/telemeter/include/Oled/Oled.cpp:34:12: warning: deleting object of polymorphic class type 'Adafruit_SSD1306' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
delete display;
^~~~~~~
See here: https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP52-CPP.+Do+not+delete+a+polymorphic+object+without+a+virtual+destructor
Compile warning on
Adafruit_SSD1306lib implementationSee here: https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP52-CPP.+Do+not+delete+a+polymorphic+object+without+a+virtual+destructor