Skip to content

Commit be75fe7

Browse files
add virtual destructor to avoid warning
1 parent 6309212 commit be75fe7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cores/arduino/Server.h

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
class Server : public Print {
2626
public:
2727
virtual void begin() =0;
28+
virtual ~Server() {}
2829
};
2930

3031
#endif

0 commit comments

Comments
 (0)