Skip to content

Commit 43b8eae

Browse files
committed
Change less than operator
1 parent 42d5620 commit 43b8eae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/source/Plugins/Process/minidump/MinidumpParser.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ struct Range {
5151
}
5252

5353
friend bool operator<(const Range &lhs, const Range &rhs) {
54+
if (lhs.start == rhs.start)
55+
return lhs.range_ref.size() < rhs.range_ref.size();
5456
return lhs.start < rhs.start;
5557
}
5658
};

0 commit comments

Comments
 (0)