mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user