Apply autofixes from clazy

This commit is contained in:
Ilya Fedin 2021-03-13 12:18:40 +04:00 committed by John Preston
parent 2696dbc959
commit 2039c59293

View file

@ -279,7 +279,7 @@ QString MonospaceFont() {
} }
void destroyFonts() { void destroyFonts() {
for (auto fontData : fontsMap) { for (auto fontData : std::as_const(fontsMap)) {
delete fontData; delete fontData;
} }
fontsMap.clear(); fontsMap.clear();