forked from qt-creator/qt-creator
Fix warning: "Mixing iterators with const_iterators"
[-Wclazy-strict-iterators] Change-Id: Ibc7e07a0f8390297589656c3c2ddfdd4c0151887 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -1127,7 +1127,7 @@ bool Preprocessor::handleIdentifier(PPToken *tk)
|
||||
}
|
||||
}
|
||||
|
||||
m_state.pushTokenBuffer(body.begin(), body.end(), macro);
|
||||
m_state.pushTokenBuffer(body.constBegin(), body.constEnd(), macro);
|
||||
|
||||
if (m_client && !idTk.generated())
|
||||
m_client->stopExpandingMacro(idTk.byteOffset, *macro);
|
||||
|
||||
Reference in New Issue
Block a user