From dffdff73fa98a4fdebca38fb4a41938541ffb1c1 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sat, 28 Aug 2021 18:05:30 +0200 Subject: GIT_SILENT: we can use std::as_const directly --- src/core/kconfigini.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/kconfigini.cpp') diff --git a/src/core/kconfigini.cpp b/src/core/kconfigini.cpp index 5bc8743c..7c1e15f0 100644 --- a/src/core/kconfigini.cpp +++ b/src/core/kconfigini.cpp @@ -287,7 +287,7 @@ KConfigBackend::ParseInfo KConfigIniBackend::parseConfig(const QByteArray &curre } // now make sure immutable groups are marked immutable - for (const QByteArray &group : qAsConst(immutableGroups)) { + for (const QByteArray &group : std::as_const(immutableGroups)) { entryMap.setEntry(group, QByteArray(), QByteArray(), KEntryMap::EntryImmutable); } -- cgit v1.2.1