Fix the build broken in r231142
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:56:11 +0000 (21:56 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:56:11 +0000 (21:56 +0000)
I removed the copy ctor, thinking that'd be the end of it - these
iterators should be perfectly assignable even from disjoint ranges (as
any iterator would be) - exkcept that the member was const.

Unconstify it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231146 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/CFG.h

index e958847eb628da3ae32556ed22c8f316da4233cb..f78220a5203320dbbefe44f8bde947f8d86d1191 100644 (file)
@@ -121,7 +121,7 @@ public:
   typedef typename super::reference reference;
 
 private:
-  const Term_ Term;
+  Term_ Term;
   unsigned idx;
   typedef SuccIterator<Term_, BB_> Self;