Avoid clazy warning

This commit is contained in:
Nyall Dawson 2024-05-16 13:45:13 +10:00
parent bcf440e189
commit b0b8086f18

View File

@ -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;