1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-21 21:22:31 +03:00
Files
esp8266/libraries
Anton Sokolchenko 533a600d95 Add virtual destructor to WiFiServer class (#2116)
Without this line compiler complains about :

Warning		22:9: warning: deleting object of polymorphic class type 'WiFiServer' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]		\\Mac\Home\Documents\Visual Studio 2015\Projects\BlinkESP8266_12\ActAsWiFi_server\SVServer.cpp	22

Reason for this is that I would like to init WiFiServer with port which can by dynamically chosen (for example by serial port)

internalServer = new WiFiServer(port);
2016-06-08 15:51:50 +08:00
..
2016-03-18 22:44:45 +01:00
2016-01-15 15:15:22 +00:00
2016-06-02 14:34:28 +08:00
2016-04-20 14:09:41 +08:00
2015-11-02 19:23:26 +01:00
2016-04-18 01:26:03 +03:00
2015-11-02 19:23:26 +01:00
2016-05-26 12:53:48 +02:00