mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
Fix Windows build after r159281: s/iterator/const_iterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c502ed657a
commit
87dc7a4c8d
@ -262,7 +262,7 @@ void State::AddInsnClass(unsigned InsnClass,
|
|||||||
// be added to the packet represented by this state.
|
// be added to the packet represented by this state.
|
||||||
//
|
//
|
||||||
bool State::canAddInsnClass(unsigned InsnClass) const {
|
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) {
|
SI != stateInfo.end(); ++SI) {
|
||||||
if (~*SI & InsnClass)
|
if (~*SI & InsnClass)
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user