Several fixes of warnings/clang tidy

This commit is contained in:
eelke 2018-12-16 15:38:32 +01:00
parent 2f527a8380
commit 880903db5f
15 changed files with 58 additions and 67 deletions

View file

@ -111,7 +111,7 @@ void CodeEditor::updateExtraSelections()
{
QList<QTextEdit::ExtraSelection> extraSelections;
extraSelections.append(currentLine);
for (auto e : errorMarkers)
for (auto&& e : errorMarkers)
extraSelections.append(e);
setExtraSelections(extraSelections);