summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-03-03 21:56:11 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-03-03 21:56:11 +0000
commit1dbe2e3dc4368a1985decfb180bd8e7290cd9f8e (patch)
tree9b4fff8d6b0122bda3dc3621dcadd5c5ac3aa8bd /llvm
parent93749ab3cfff19115bf46d6424939cfddba906cc (diff)
downloadbcm5719-llvm-1dbe2e3dc4368a1985decfb180bd8e7290cd9f8e.tar.gz
bcm5719-llvm-1dbe2e3dc4368a1985decfb180bd8e7290cd9f8e.zip
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. llvm-svn: 231146
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/IR/CFG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/CFG.h b/llvm/include/llvm/IR/CFG.h
index e958847eb62..f78220a5203 100644
--- a/llvm/include/llvm/IR/CFG.h
+++ b/llvm/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<Term_, BB_> Self;
OpenPOWER on IntegriCloud