summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices/osm/qgeocodereplyosm.cpp')
-rw-r--r--src/plugins/geoservices/osm/qgeocodereplyosm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/osm/qgeocodereplyosm.cpp b/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
index e309c87f..b1335a70 100644
--- a/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
+++ b/src/plugins/geoservices/osm/qgeocodereplyosm.cpp
@@ -112,7 +112,7 @@ static void injectExtra(QGeoLocation &location, const QJsonObject &object)
QStringLiteral("place_id"),
QStringLiteral("class") };
- for (const auto k: extraKeys) {
+ for (const auto &k: extraKeys) {
if (object.contains(k)) {
extra[k] = object.value(k).toVariant();
if (k == QStringLiteral("geojson"))