Skip to content

Commit

Permalink
make const
Browse files Browse the repository at this point in the history
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
  • Loading branch information
JanCaha and uclaros authored Jan 16, 2025
1 parent 7bd6fea commit eb4f10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresconn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ bool QgsPostgresConn::getTableInfo( bool searchGeometryColumnsOnly, bool searchP
else
{
bool keepRasterTable = true;
for ( QgsPostgresRasterOverviewLayerProperty overview : overviews )
for ( const QgsPostgresRasterOverviewLayerProperty &overview : std::as_const( overviews ) )
{
if ( property.schemaName == overview.schemaName && property.tableName == overview.tableName )
{
Expand Down

0 comments on commit eb4f10f

Please sign in to comment.