patch-src_writeHTML_cc 524 B

1234567891011121314151617
  1. $OpenBSD: patch-src_writeHTML_cc,v 1.1 2017/05/22 00:13:09 espie Exp $
  2. map wants const correct operator()
  3. Index: src/writeHTML.cc
  4. --- src/writeHTML.cc.orig
  5. +++ src/writeHTML.cc
  6. @@ -223,7 +223,7 @@ void Tribe_Descr::referenceWare
  7. // A container to keep the types ordered by descname for the table of
  8. // contents.
  9. struct orderer {
  10. - bool operator () (std::string const * const a, std::string const * const b)
  11. + bool operator () (std::string const * const a, std::string const * const b) const
  12. {
  13. return *a < *b;
  14. }