aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/DAGDeltaAlgorithm.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-08 17:21:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-08 17:21:57 +0000
commitef45832d7cc6a846cc194ef2764b76ac994fe137 (patch)
tree9f9512f1b345f473aa770913e9341be51821e745 /lib/Support/DAGDeltaAlgorithm.cpp
parent18ed7b27eb73d5916ff746b8ddb330e6d1ab9de0 (diff)
Use const_iterator where appropriate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/DAGDeltaAlgorithm.cpp')
-rw-r--r--lib/Support/DAGDeltaAlgorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/DAGDeltaAlgorithm.cpp b/lib/Support/DAGDeltaAlgorithm.cpp
index 4da3fe34c8..814566494d 100644
--- a/lib/Support/DAGDeltaAlgorithm.cpp
+++ b/lib/Support/DAGDeltaAlgorithm.cpp
@@ -290,7 +290,7 @@ bool DAGDeltaAlgorithmImpl::GetTestResult(const changeset_ty &Changes,
const changeset_ty &Required) {
changeset_ty Extended(Required);
Extended.insert(Changes.begin(), Changes.end());
- for (changeset_ty::iterator it = Changes.begin(),
+ for (changeset_ty::const_iterator it = Changes.begin(),
ie = Changes.end(); it != ie; ++it)
Extended.insert(pred_closure_begin(*it), pred_closure_end(*it));