mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Remove incorrect use of const on return type (not pointer). #1834
This commit is contained in:
@@ -166,7 +166,7 @@ extern "C" int g_has_npcap_loopback;
|
||||
#endif
|
||||
|
||||
|
||||
const int HssPredicate::operator() (const HostScanStats *lhs, const HostScanStats *rhs) const {
|
||||
int HssPredicate::operator() (const HostScanStats *lhs, const HostScanStats *rhs) const {
|
||||
const struct sockaddr_storage *lss, *rss;
|
||||
lss = (lhs) ? lhs->target->TargetSockAddr() : ss;
|
||||
rss = (rhs) ? rhs->target->TargetSockAddr() : ss;
|
||||
|
||||
Reference in New Issue
Block a user