Skip to content

Commit b760f08

Browse files
committedOct 16, 2017
[auth] Pass by reference in const loop
1 parent 922b1e0 commit b760f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/auth/qgsauthcertutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ QList<QSslCertificate> QgsAuthCertUtils::certsFromString( const QString &pemtext
227227
QList<QSslCertificate> QgsAuthCertUtils::casRemoveSelfSigned( const QList<QSslCertificate> &caList )
228228
{
229229
QList<QSslCertificate> certs;
230-
for ( const auto cert : caList )
230+
for ( const auto &cert : caList )
231231
{
232232
if ( ! cert.isSelfSigned( ) )
233233
{

0 commit comments

Comments
 (0)
Please sign in to comment.