Use std::vector::iterator in CMICmnLLDBDebuggerHandleEvents::ChkForStateChanges to fix build on Linux after r233260 (MI)

llvm-svn: 233265
This commit is contained in:
Ilia K 2015-03-26 09:43:23 +00:00
parent 52cee4dad2
commit c248ec2c29
1 changed files with 2 additions and 2 deletions

View File

@ -1666,8 +1666,8 @@ CMICmnLLDBDebuggerHandleEvents::ChkForStateChanges(void)
}
// Check for invalid (removed) threads
CMICmnLLDBDebugSessionInfo::VecActiveThreadId_t::const_iterator it = rSessionInfo.m_vecActiveThreadId.cbegin();
while (it != rSessionInfo.m_vecActiveThreadId.cend())
CMICmnLLDBDebugSessionInfo::VecActiveThreadId_t::iterator it = rSessionInfo.m_vecActiveThreadId.begin();
while (it != rSessionInfo.m_vecActiveThreadId.end())
{
const MIuint threadIndexID = *it;
lldb::SBThread thread = sbProcess.GetThreadByIndexID(threadIndexID);