mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
[auth] Pass by reference in const loop
This commit is contained in:
parent
922b1e02c9
commit
b760f08bd5
@ -227,7 +227,7 @@ QList<QSslCertificate> QgsAuthCertUtils::certsFromString( const QString &pemtext
|
|||||||
QList<QSslCertificate> QgsAuthCertUtils::casRemoveSelfSigned( const QList<QSslCertificate> &caList )
|
QList<QSslCertificate> QgsAuthCertUtils::casRemoveSelfSigned( const QList<QSslCertificate> &caList )
|
||||||
{
|
{
|
||||||
QList<QSslCertificate> certs;
|
QList<QSslCertificate> certs;
|
||||||
for ( const auto cert : caList )
|
for ( const auto &cert : caList )
|
||||||
{
|
{
|
||||||
if ( ! cert.isSelfSigned( ) )
|
if ( ! cert.isSelfSigned( ) )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user