mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 07:01:32 +00:00
Increase const-ness of HssPredicate::operator() to avoid warnings.
This commit is contained in:
@@ -653,7 +653,7 @@ struct ultra_scan_performance_vars : public scan_performance_vars {
|
||||
|
||||
struct HssPredicate {
|
||||
public:
|
||||
int operator() (HostScanStats *lhs, HostScanStats *rhs);
|
||||
const int operator() (const HostScanStats *lhs, const HostScanStats *rhs) const;
|
||||
static struct sockaddr_storage *ss;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user