Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 10c8f74

Browse files
committed
Add DIERef::operator==
FIXME - verify that this was needed, and by what.
1 parent e6aec82 commit 10c8f74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/Plugins/SymbolFile/DWARF/DIERef.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ struct DIERef {
4545

4646
bool operator<(const DIERef &ref) { return die_offset < ref.die_offset; }
4747

48+
bool operator==(const DIERef &ref) const { return die_offset == ref.die_offset; }
49+
4850
dw_offset_t cu_offset;
4951
dw_offset_t die_offset;
5052
};

0 commit comments

Comments
 (0)