patch-output_cc 510 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- nmap-5.00.orig/output.cc 2009-06-24 23:35:54.000000000 +0200
  3. +++ nmap-5.00/output.cc 2009-07-20 20:33:41.267403513 +0200
  4. @@ -1966,7 +1966,7 @@ struct data_file_record {
  5. /* Compares this record to another. First compare the directory names, then
  6. compare the file names. */
  7. - bool operator<(const struct data_file_record& other) {
  8. + bool operator<(const struct data_file_record& other) const {
  9. int cmp;
  10. cmp = dir.compare(other.dir);