Skip to content

Commit

Permalink
More loop references
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 13, 2021
1 parent 499ed20 commit fd9c00b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/3d/qgspointcloudlayer3drenderer.cpp
Expand Up @@ -55,7 +55,7 @@ void QgsPointCloud3DRenderContext::setFilteredOutCategories( const QgsPointCloud
QSet<int> QgsPointCloud3DRenderContext::getFilteredOutValues() const
{
QSet<int> filteredOut;
for ( const QgsPointCloudCategory category : mFilteredOutCategories )
for ( const QgsPointCloudCategory &category : mFilteredOutCategories )
filteredOut.insert( category.value() );
return filteredOut;
}
Expand Down
2 changes: 1 addition & 1 deletion src/3d/symbols/qgspointcloud3dsymbol.cpp
Expand Up @@ -458,7 +458,7 @@ void QgsClassificationPointCloud3DSymbol::setCategoriesList( const QgsPointCloud
QgsPointCloudCategoryList QgsClassificationPointCloud3DSymbol::getFilteredOutCategories() const
{
QgsPointCloudCategoryList filteredOut;
for ( const QgsPointCloudCategory category : mCategoriesList )
for ( const QgsPointCloudCategory &category : mCategoriesList )
{
if ( !category.renderState() )
filteredOut.push_back( category );
Expand Down

0 comments on commit fd9c00b

Please sign in to comment.