This repository was archived by the owner on May 16, 2023. It is now read-only.
This repository was archived by the owner on May 16, 2023. It is now read-only.
Adafruit_Thermal has no destructor method #49
Open
Description
-
Arduino board: Arduino Nano 33 BLE Sense
-
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.13
-
List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too):
I am using Adafruit Thermal Printer as a dependency on a project, where in a class I have an instance of Adafruit_Thermal, and when I delete this instance on my destructor method, I get the warning "warning: deleting object of polymorphic class type 'Adafruit_Thermal' which has non-virtual destructor might cause undefined behavior".
as far as i know this warning could be fixed with a destructor of Adafruit_Thermal
Metadata
Metadata
Assignees
Labels
No labels
Activity