forked from OSchip/llvm-project
Fix Windows build after r159281: s/iterator/const_iterator
llvm-svn: 159334
This commit is contained in:
parent
3511dd30c8
commit
420a4ed652
|
@ -262,7 +262,7 @@ void State::AddInsnClass(unsigned InsnClass,
|
|||
// be added to the packet represented by this state.
|
||||
//
|
||||
bool State::canAddInsnClass(unsigned InsnClass) const {
|
||||
for (std::set<unsigned>::iterator SI = stateInfo.begin();
|
||||
for (std::set<unsigned>::const_iterator SI = stateInfo.begin();
|
||||
SI != stateInfo.end(); ++SI) {
|
||||
if (~*SI & InsnClass)
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue