Delete dead code.
[oota-llvm.git] / include / llvm / Object / Archive.h
index acf22b8f7e7b4bcd30883fd9141ec426d4e36079..987ade81a51e2e3bce7c6a826c34e10e5c89b343 100644 (file)
@@ -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;