[auth] Pass by reference in const loop

This commit is contained in:
Alessandro Pasotti 2017-10-16 11:23:17 +02:00
parent 922b1e02c9
commit b760f08bd5

View File

@ -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( ) )
{