You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
^~~~~~~
Compile warning on
Adafruit_SSD1306
lib implementationSee here: https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP52-CPP.+Do+not+delete+a+polymorphic+object+without+a+virtual+destructor
The text was updated successfully, but these errors were encountered: