From 72a1cc23b16640c3828c43d3704d4de6a5103d09 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Thu, 22 Sep 2022 15:59:15 +0200 Subject: [PATCH] Use consistently std::as_const instead of qAsConst NO_CHANGELOG --- src/imageformats/xcf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imageformats/xcf.cpp b/src/imageformats/xcf.cpp index d876cf2..9885452 100644 --- a/src/imageformats/xcf.cpp +++ b/src/imageformats/xcf.cpp @@ -1270,7 +1270,7 @@ void XCFImageFormat::setImageParasites(const XCFImage &xcf_image, QImage &image) { auto&& p = xcf_image.parasites; auto keys = p.keys(); - for (auto&& key : qAsConst(keys)) { + for (auto &&key : std::as_const(keys)) { auto value = p.value(key); if(value.isEmpty()) continue;