diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-02-01 14:00:07 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-02-01 14:00:07 +0100 |
commit | f672bff3383e3b6f555d0b7712d105003dea6525 (patch) | |
tree | ccb1082bd0ebbd1a1be249b6707a46861b5fd4e4 /src/plugins/cppeditor/cpphoverhandler.cpp | |
parent | 0f6551c43f12512ecd57242bead784f67d2a3fab (diff) | |
download | qt-creator-f672bff3383e3b6f555d0b7712d105003dea6525.tar.gz |
Fix some code scanning issues.
foreach()-Loops.
Diffstat (limited to 'src/plugins/cppeditor/cpphoverhandler.cpp')
-rw-r--r-- | src/plugins/cppeditor/cpphoverhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp index 71f5442a5b..c1be3357ec 100644 --- a/src/plugins/cppeditor/cpphoverhandler.cpp +++ b/src/plugins/cppeditor/cpphoverhandler.cpp @@ -289,7 +289,7 @@ void CppHoverHandler::updateHelpIdAndTooltip(TextEditor::ITextEditor *editor, in // We only want to show F1 if the tooltip matches the help id bool showF1 = true; - foreach (Document::DiagnosticMessage m, doc->diagnosticMessages()) { + foreach (const Document::DiagnosticMessage &m, doc->diagnosticMessages()) { if (m.line() == lineNumber) { m_toolTip = m.text(); showF1 = false; |