Skip to content
Permalink
Browse files
Apply suggestions from code review
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
borysiasty and m-kuhn committed Aug 6, 2020
1 parent 560eb31 commit a4943ee19d2baa8eaaf547471a2f89f91329c4e7
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/providers/postgres/qgspostgresprovider.cpp
@@ -904,8 +904,7 @@ bool QgsPostgresProvider::loadFields()
if ( !attroids.isEmpty() )
{
QStringList attroidsList;
const auto constAttroids = attroids;
for ( Oid attroid : constAttroids )
for ( Oid attroid : qgis::as_const( attroids ) )
{
attroidsList.append( QString::number( attroid ) );
}

0 comments on commit a4943ee

Please sign in to comment.