From 105517fed7b049558f41500796206a8cf3b1c218 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 1 Nov 2021 20:24:47 +0100 Subject: [PATCH] [partition] Coding style --- src/modules/partition/jobs/ClearMountsJob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/partition/jobs/ClearMountsJob.cpp b/src/modules/partition/jobs/ClearMountsJob.cpp index 817007e1a..da60ebc3d 100644 --- a/src/modules/partition/jobs/ClearMountsJob.cpp +++ b/src/modules/partition/jobs/ClearMountsJob.cpp @@ -230,7 +230,7 @@ ClearMountsJob::exec() } } - foreach ( QString p, swapPartitions ) + for ( const QString& p : swapPartitions ) { QString news = tryClearSwap( p ); if ( !news.isEmpty() )