Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
7f38b760
Commit
7f38b760
authored
Mar 17, 2010
by
Thorbjørn Lindeijer
Browse files
Use a reference when possible
parent
939562af
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppmodelmanager.cpp
View file @
7f38b760
...
...
@@ -196,7 +196,7 @@ void CppPreprocessor::setIncludePaths(const QStringList &includePaths)
m_includePaths
.
clear
();
for
(
int
i
=
0
;
i
<
includePaths
.
size
();
++
i
)
{
const
QString
path
=
includePaths
.
at
(
i
);
const
QString
&
path
=
includePaths
.
at
(
i
);
#ifdef Q_OS_DARWIN
if
(
i
+
1
<
includePaths
.
size
()
&&
path
.
endsWith
(
QLatin1String
(
".framework/Headers"
)))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment