summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <[email protected]>2015-09-18 18:16:40 +0200
committerAndreas Cord-Landwehr <[email protected]>2015-09-18 18:16:40 +0200
commitfdcd8c8b411acf52f0e53ec23d8e04681db58f2c (patch)
treefc5ff2d2e4094c62a118b0857425017d2bf134d3
parent2dadca3ecf1d05ba79ada5f3e1dacdfb9103fb89 (diff)
Fix compile with QT_STRICT_ITERATORS.
-rw-r--r--src/lib/marble/osm/OsmPresetLibrary.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/marble/osm/OsmPresetLibrary.cpp b/src/lib/marble/osm/OsmPresetLibrary.cpp
index f4809a9..d9297de 100644
--- a/src/lib/marble/osm/OsmPresetLibrary.cpp
+++ b/src/lib/marble/osm/OsmPresetLibrary.cpp
@@ -459,25 +459,25 @@ GeoDataFeature::GeoDataVisualCategory OsmPresetLibrary::OsmVisualCategory( const
QMap<OsmPresetLibrary::OsmTag, GeoDataFeature::GeoDataVisualCategory>::const_iterator OsmPresetLibrary::begin()
{
initializeOsmVisualCategories();
- return s_visualCategories.begin();
+ return s_visualCategories.constBegin();
}
QMap<OsmPresetLibrary::OsmTag, GeoDataFeature::GeoDataVisualCategory>::const_iterator OsmPresetLibrary::end()
{
initializeOsmVisualCategories();
- return s_visualCategories.end();
+ return s_visualCategories.constEnd();
}
QList<OsmPresetLibrary::OsmTag>::const_iterator OsmPresetLibrary::additionalTagsBegin()
{
initializeAdditionalOsmTags();
- return s_additionalOsmTags.begin();
+ return s_additionalOsmTags.constBegin();
}
QList<OsmPresetLibrary::OsmTag>::const_iterator OsmPresetLibrary::additionalTagsEnd()
{
initializeAdditionalOsmTags();
- return s_additionalOsmTags.end();
+ return s_additionalOsmTags.constEnd();
}
QStringList OsmPresetLibrary::buildingValues()