Commit a2f3bcc9 authored by Friedemann Kleint's avatar Friedemann Kleint

Fix Krazy-warnings about non-const ref iterator in CppEditor.

Change-Id: I6af10e51c25ae63d33f15f35960362e7f529721b
Reviewed-by: default avatarNikolai Kosjar <>
parent d0c2ceab
......@@ -1016,7 +1016,7 @@ void CPPEditorWidget::markSymbols(const QTextCursor &tc, const SemanticInfo &inf
//Other macro uses
foreach (Document::MacroUse use, info.doc->macroUses()) {
foreach (const Document::MacroUse &use, info.doc->macroUses()) {
if (use.macro().line() != macro->line()
|| use.macro().offset() != macro->offset()
|| use.macro().length() != macro->length()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment