Skip to content

Commit

Permalink
const list cannot be sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 9, 2019
1 parent 4fc6176 commit 54d58d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsmapthemecollection.cpp
Expand Up @@ -528,7 +528,7 @@ void QgsMapThemeCollection::writeXml( QDomDocument &doc )
{
QDomElement visPresetsElem = doc.createElement( QStringLiteral( "visibility-presets" ) );

const auto keys = mMapThemes.keys();
auto keys = mMapThemes.keys();

std::sort( keys.begin(), keys.end() );

Expand Down

0 comments on commit 54d58d9

Please sign in to comment.