Skip to content

Commit

Permalink
[auth] Pass by reference in const loop
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Oct 16, 2017
1 parent 922b1e0 commit b760f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/auth/qgsauthcertutils.cpp
Expand Up @@ -227,7 +227,7 @@ QList<QSslCertificate> QgsAuthCertUtils::certsFromString( const QString &pemtext
QList<QSslCertificate> QgsAuthCertUtils::casRemoveSelfSigned( const QList<QSslCertificate> &caList )
{
QList<QSslCertificate> certs;
for ( const auto cert : caList )
for ( const auto &cert : caList )
{
if ( ! cert.isSelfSigned( ) )
{
Expand Down

0 comments on commit b760f08

Please sign in to comment.