-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adafruit_GFX destructor #236
Comments
This would make apps take up more space than they do now.
Because the sketch doesn't actually destroy it, the linker can currently optimize the destructor out. But if it's |
when deleting Adafruit_SSD1306 object, i've got this warning:
warning: deleting object of polymorphic class type 'Adafruit_SSD1306' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor].
I suggest to create Adafruit_GFX destructor.
The text was updated successfully, but these errors were encountered: