1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Fixed the compile time warning of warning: deleting object of polymorphic class type ‘FPHost6’ which has non-virtual destructor might cause undefined behaviour by making the destructor virtual.

This commit is contained in:
sean
2012-07-21 00:56:13 +00:00
parent 5b5ca64126
commit 36d3dbba66

View File

@@ -389,7 +389,7 @@ class FPHost {
struct timeval begin_time;
FPHost();
~FPHost();
virtual ~FPHost();
virtual bool done() = 0;
virtual int schedule() = 0;
virtual int callback(const u8 *pkt, size_t pkt_len, const struct timeval *tv) = 0;