mirror of
https://github.com/nmap/nmap.git
synced 2026-09-02 08:20:52 +00:00
Fix an inscrutable g++ error due to non-const callable comparison
This commit is contained in:
parent
d113e08de1
commit
06e6700268
1 changed files with 1 additions and 1 deletions
|
|
@ -663,7 +663,7 @@ int FingerTest::getMaxPoints() const {
|
|||
of tests when they are displayed. Returns true if and only if the test a
|
||||
should come before the test b. */
|
||||
struct FingerTestCmp {
|
||||
bool operator()(const FingerTest* a, const FingerTest* b) {
|
||||
bool operator()(const FingerTest* a, const FingerTest* b) const {
|
||||
if (a->id != b->id)
|
||||
return a->id < b->id;
|
||||
if (a->results == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue