From 334837533f4337929f7a8091261deed5561b2210 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 26 Apr 2016 16:00:46 +0800 Subject: [PATCH] Add missing virtual destructor in TransportTraits (#1944) --- libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp b/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp index 28829742a7..2733e12e12 100644 --- a/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp +++ b/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp @@ -33,6 +33,10 @@ class TransportTraits { public: + virtual ~TransportTraits() + { + } + virtual std::unique_ptr create() { return std::unique_ptr(new WiFiClient());