From 7cecca6011776663d63d5b1b0900504aac62d0d5 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 3 Mar 2015 21:56:11 +0000 Subject: [PATCH] Fix the build broken in r231142 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/IR/CFG.h b/include/llvm/IR/CFG.h index e958847eb62..f78220a5203 100644 --- a/include/llvm/IR/CFG.h +++ b/include/llvm/IR/CFG.h @@ -121,7 +121,7 @@ public: typedef typename super::reference reference; private: - const Term_ Term; + Term_ Term; unsigned idx; typedef SuccIterator Self;