Skip to content

Commit 2d70b36

Browse files
committed
Fix warning due to lack of virtual destructor
1 parent 60baf80 commit 2d70b36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/ESP8266WebServer/src/detail/RequestHandler.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
class RequestHandler {
55
public:
6+
virtual ~RequestHandler() { }
67
virtual bool canHandle(HTTPMethod method, String uri) { return false; }
78
virtual bool canUpload(String uri) { return false; }
89
virtual bool handle(ESP8266WebServer& server, HTTPMethod requestMethod, String requestUri) { return false; }

0 commit comments

Comments
 (0)