diff --git a/llvm/include/llvm/Object/Archive.h b/llvm/include/llvm/Object/Archive.h index acf22b8f7e7b..987ade81a51e 100644 --- a/llvm/include/llvm/Object/Archive.h +++ b/llvm/include/llvm/Object/Archive.h @@ -72,10 +72,6 @@ public: return Data.begin() == other.Data.begin(); } - bool operator <(const Child &other) const { - return Data.begin() < other.Data.begin(); - } - const Archive *getParent() const { return Parent; } Child getNext() const; @@ -123,10 +119,6 @@ public: return !(*this == other); } - bool operator<(const child_iterator &other) const { - return child < other.child; - } - child_iterator &operator++() { // Preincrement child = child.getNext(); return *this;