mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-04 00:06:46 -05:00
Avoid clazy warning
This commit is contained in:
parent
bcf440e189
commit
b0b8086f18
@ -402,7 +402,7 @@ QString QgsAbstractGeoPdfExporter::createCompositionXml( const QList<ComponentLa
|
||||
// filter out groups which don't have any content
|
||||
layerTreeGroupOrder.erase( std::remove_if( layerTreeGroupOrder.begin(), layerTreeGroupOrder.end(), [&details]( const QString & group )
|
||||
{
|
||||
return details.customLayerTreeGroups.keys( group ).empty();
|
||||
return details.customLayerTreeGroups.key( group ).isEmpty();
|
||||
} ), layerTreeGroupOrder.end() );
|
||||
|
||||
QMap< QString, QString > customGroupNamesToIds;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user