Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoid spurious cpp check function can be const warning
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Apr 9, 2023
1 parent 794478f commit 31b65b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gui/qgsproviderguiregistry.cpp
Expand Up @@ -219,11 +219,9 @@ QgsProviderGuiRegistry::~QgsProviderGuiRegistry()

void QgsProviderGuiRegistry::registerGuis( QMainWindow *parent )
{
GuiProviders::const_iterator it = mProviders.begin();
while ( it != mProviders.end() )
for ( auto it = mProviders.begin(); it != mProviders.end(); ++it )
{
it->second->registerGui( parent );
++it;
}
}

Expand Down

0 comments on commit 31b65b9

Please sign in to comment.