Skip to content

Commit

Permalink
Add missing virtual destructor in TransportTraits (esp8266#1944)
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Apr 26, 2016
1 parent 76e322f commit 3348375
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
class TransportTraits
{
public:
virtual ~TransportTraits()
{
}

virtual std::unique_ptr<WiFiClient> create()
{
return std::unique_ptr<WiFiClient>(new WiFiClient());
Expand Down

0 comments on commit 3348375

Please sign in to comment.