mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Use const_iterator where appropriate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18ed7b27eb
commit
ef45832d7c
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user