From 2039c5929359593f0336fb53f585a55c3acd46fd Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sat, 13 Mar 2021 12:18:40 +0400 Subject: [PATCH] Apply autofixes from clazy --- ui/style/style_core_font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/style/style_core_font.cpp b/ui/style/style_core_font.cpp index 05b26d7..a98a59c 100644 --- a/ui/style/style_core_font.cpp +++ b/ui/style/style_core_font.cpp @@ -279,7 +279,7 @@ QString MonospaceFont() { } void destroyFonts() { - for (auto fontData : fontsMap) { + for (auto fontData : std::as_const(fontsMap)) { delete fontData; } fontsMap.clear();