Make LoopPass::getContainedPass return a LoopPass* instead of a Pass*
[oota-llvm.git] / include / llvm / ADT / EquivalenceClasses.h
index 91a14294516ec9bd173471dc1f8f182ce085547e..07a5edfdb6ca785b6ea731338dae126ff76aaf47 100644 (file)
@@ -169,7 +169,7 @@ public:
   /// getOrInsertLeaderValue - Return the leader for the specified value that is
   /// in the set.  If the member is not in the set, it is inserted, then
   /// returned.
-  const ElemTy &getOrInsertLeaderValue(const ElemTy &V) const {
+  const ElemTy &getOrInsertLeaderValue(const ElemTy &V) {
     member_iterator MI = findLeader(insert(V));
     assert(MI != member_end() && "Value is not in the set!");
     return *MI;