Skip to content
Permalink
Browse files

Fix some clazy "inefficient-qlist-soft" warnings

From the clazy docs:

Finds QList<T> where sizeof(T) > sizeof(void*).
QVector<T> should be used instead.
  • Loading branch information
nyalldawson committed Oct 22, 2016
1 parent 498d03b commit 1dca93830644d16d3a7cc6edba640744edf9e1bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/arcgisrest/qgsamsprovider.cpp
@@ -66,7 +66,7 @@ void QgsAmsLegendFetcher::handleFinished()
}
QVariantMap queryResults = doc.object().toVariantMap();
QgsDataSourceUri dataSource( mProvider->dataSourceUri() );
QList< QPair<QString, QImage> > legendEntries;
QVector< QPair<QString, QImage> > legendEntries;
foreach ( const QVariant& result, queryResults["layers"].toList() )
{
QVariantMap queryResultMap = result.toMap();

0 comments on commit 1dca938

Please sign in to comment.
You can’t perform that action at this time.