forked from OSchip/llvm-project
DWARF/DIERef: remove non-const operator<
It serves no purpose as one can always invoke the const version instead. llvm-svn: 360583
This commit is contained in:
parent
83e61bc5e2
commit
b1e28d9b6a
|
@ -26,8 +26,6 @@ struct DIERef {
|
|||
return die_offset < ref.die_offset;
|
||||
}
|
||||
|
||||
bool operator<(const DIERef &ref) { return die_offset < ref.die_offset; }
|
||||
|
||||
explicit operator bool() const {
|
||||
return cu_offset != DW_INVALID_OFFSET || die_offset != DW_INVALID_OFFSET;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue