Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
119221eb
Commit
119221eb
authored
May 20, 2019
by
Patrick José Pereira
Browse files
LinkManager: Use const reference in for loop
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
40f6b974
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/LinkManager.cc
View file @
119221eb
...
...
@@ -518,7 +518,7 @@ void LinkManager::_updateAutoConnectLinks(void)
#endif
// Iterate Comm Ports
for
(
QGCSerialPortInfo
portInfo
:
portList
)
{
for
(
const
QGCSerialPortInfo
&
portInfo
:
portList
)
{
qCDebug
(
LinkManagerVerboseLog
)
<<
"-----------------------------------------------------"
;
qCDebug
(
LinkManagerVerboseLog
)
<<
"portName: "
<<
portInfo
.
portName
();
qCDebug
(
LinkManagerVerboseLog
)
<<
"systemLocation: "
<<
portInfo
.
systemLocation
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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