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:
Alessandro Portale
2019-01-16 12:40:15 +01:00
parent a929ffd066
commit 7f641d3c08
2 changed files with 2 additions and 2 deletions

View File

@@ -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);