From ac7c0eb8eb3907cee93af33801efb8c4c8b75562 Mon Sep 17 00:00:00 2001 From: Rene Date: Thu, 28 Dec 2023 16:31:54 +0100 Subject: [PATCH] make WiFiManagerParameter destructor virtual --- WiFiManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WiFiManager.h b/WiFiManager.h index c4c8be55..c95d0e89 100644 --- a/WiFiManager.h +++ b/WiFiManager.h @@ -207,7 +207,7 @@ class WiFiManagerParameter { WiFiManagerParameter(const char *id, const char *label, const char *defaultValue, int length); WiFiManagerParameter(const char *id, const char *label, const char *defaultValue, int length, const char *custom); WiFiManagerParameter(const char *id, const char *label, const char *defaultValue, int length, const char *custom, int labelPlacement); - ~WiFiManagerParameter(); + virtual ~WiFiManagerParameter(); // WiFiManagerParameter& operator=(const WiFiManagerParameter& rhs); const char *getID() const;