mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
We never compare iterators from two archives. Assert that.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185934 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c5f8757c72
commit
92f7386cae
@ -54,7 +54,8 @@ public:
|
||||
Child(const Archive *Parent, const char *Start);
|
||||
|
||||
bool operator ==(const Child &other) const {
|
||||
return (Parent == other.Parent) && (Data.begin() == other.Data.begin());
|
||||
assert(Parent == other.Parent);
|
||||
return Data.begin() == other.Data.begin();
|
||||
}
|
||||
|
||||
bool operator <(const Child &other) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user