Mark tu_abbrev_offset::operator<() const.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 19 May 2021 18:46:02 +0000 (11:46 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 19 May 2021 20:31:19 +0000 (13:31 -0700)
commit5433e20ec1c539bb53b47ca818f4742b403e3c23
tree45a8013d56d993d3bd2664e042f649fdc693dc1f
parent17bb1d80f5f7a4e5894939d994972878ba95f5b7
Mark tu_abbrev_offset::operator<() const.

clang 11 with libc++'s <algorithm> fails to match the existing
operator<() for std::less<> since the method is not marked const.

gdb/ChangeLog:

* dwarf2/read.c (tu_abbrev_offset::operator<): Mark const.
gdb/ChangeLog
gdb/dwarf2/read.c