Remove unneeded ';' and a class/struct mismatch (noticed by clang).
[oota-llvm.git] / include / llvm / ADT / DenseSet.h
index 4e64586f9fb7ddb8b0fe2da37b0fdaf02d6b5492..89f55caa95475c64c054bc1f9cd7bd49af4cfc0e 100644 (file)
@@ -73,7 +73,7 @@ public:
     const ValueT& operator*() { return I->first; }
     const ValueT* operator->() { return &I->first; }
 
-    ConstIterator& operator++() { ++I; return *this; };
+    ConstIterator& operator++() { ++I; return *this; }
     bool operator==(const ConstIterator& X) const { return I == X.I; }
     bool operator!=(const ConstIterator& X) const { return I != X.I; }
   };