summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-12-05 23:24:41 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-12-07 00:55:06 +0100
commit075b7a868f5334028d06c7fb5b5aa09b64365358 (patch)
treefab0c3152c28614848d35f423c2cfbd0f6db1ac0 /src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp
parent1e30c174402b35d51e5962678e75595ad8f716dc (diff)
downloadqtlocation-075b7a868f5334028d06c7fb5b5aa09b64365358.tar.gz
Mark the module as free of qAsConst()
Change-Id: Ie67ec9b4f1f808b3b70ca7beb98f90c9cd1f2a9f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp')
-rw-r--r--src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp b/src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp
index aec7f59e..bef464af 100644
--- a/src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp
+++ b/src/plugins/geoservices/mapbox/qplacemanagerenginemapbox.cpp
@@ -182,7 +182,7 @@ QPlaceReply *QPlaceManagerEngineMapbox::doSearch(const QPlaceSearchRequest &requ
// XXX: Investigate situations where we need to filter by 'country'.
QStringList languageCodes;
- for (const QLocale& locale: qAsConst(m_locales)) {
+ for (const QLocale& locale: std::as_const(m_locales)) {
// Returns the language and country of this locale as a string of the
// form "language_country", where language is a lowercase, two-letter
// ISO 639 language code, and country is an uppercase, two- or