Commit 519913e5 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

CppTools: Pass const QString by reference



Change-Id: I3ad42095b7029cb58223a7bb7f9ce21dda29f50f
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 038f5983
......@@ -1205,7 +1205,7 @@ bool CppCompletionAssistProcessor::objcKeywordsWanted() const
|| mt == QLatin1String(CppTools::Constants::OBJECTIVE_CPP_SOURCE_MIMETYPE);
}
int CppCompletionAssistProcessor::startCompletionInternal(const QString fileName,
int CppCompletionAssistProcessor::startCompletionInternal(const QString &fileName,
unsigned line, unsigned column,
const QString &expr,
int endOfExpression)
......
......@@ -121,7 +121,7 @@ private:
int startCompletionHelper();
bool tryObjCCompletion();
bool objcKeywordsWanted() const;
int startCompletionInternal(const QString fileName,
int startCompletionInternal(const QString &fileName,
unsigned line, unsigned column,
const QString &expression,
int endOfExpression);
......
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