mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +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:
parent
5b5ca64126
commit
36d3dbba66
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue