added virtual deconstructor MenuIntInputWrapper

This commit is contained in:
2023-01-04 00:15:42 +01:00
parent c723200a27
commit 51ba70e297
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -58,6 +58,7 @@ MenuIntInput::~MenuIntInput() {
delete this->stepsPerInput;
delete this->values;
delete this->names;
delete this->wrapper;
}
void MenuIntInput::setEntry(uint8_t valueNumber, const char* name, int16_t startValue) {
+1
View File
@@ -18,6 +18,7 @@
class MenuIntInputWrapper {
public:
virtual ~MenuIntInputWrapper() {}
virtual void action(int16_t* values, uint8_t length) = 0;
};