Message ID | 20240114171723.14092-15-dev@benjarobin.fr (mailing list archive) |
---|---|
State | Accepted |
Commit | a8fdfeac6a09abe1cf295dec5fd060b1656b98d3 |
Headers | show
Received: from smtpout3.mo529.mail-out.ovh.net (smtpout3.mo529.mail-out.ovh.net [46.105.54.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C1DD5255 for <linux-trace-devel@vger.kernel.org>; Sun, 14 Jan 2024 17:17:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=benjarobin.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=benjarobin.fr Received: from mxplan5.mail.ovh.net (unknown [10.109.139.82]) by mo529.mail-out.ovh.net (Postfix) with ESMTPS id 56DF120456; Sun, 14 Jan 2024 17:17:39 +0000 (UTC) Received: from benjarobin.fr (37.59.142.108) by DAG6EX2.mxp5.local (172.16.2.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 14 Jan 2024 18:17:38 +0100 Authentication-Results: garm.ovh; auth=pass (GARM-108S002727f8e6b-df22-400a-8879-157adbb62b00, 5BE38D5D59959AD767059B58A5CDE138DFC9D9F8) smtp.auth=dev@benjarobin.fr X-OVh-ClientIp: 92.161.126.4 From: Benjamin ROBIN <dev@benjarobin.fr> To: <y.karadz@gmail.com> CC: <linux-trace-devel@vger.kernel.org>, Benjamin ROBIN <dev@benjarobin.fr> Subject: [PATCH 14/34] kernelshark: Fix range-loop-reference Clazy warning Date: Sun, 14 Jan 2024 18:17:03 +0100 Message-ID: <20240114171723.14092-15-dev@benjarobin.fr> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240114171723.14092-1-dev@benjarobin.fr> References: <20240114171723.14092-1-dev@benjarobin.fr> Precedence: bulk X-Mailing-List: linux-trace-devel@vger.kernel.org List-Id: <linux-trace-devel.vger.kernel.org> List-Subscribe: <mailto:linux-trace-devel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-trace-devel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: DAG1EX2.mxp5.local (172.16.2.2) To DAG6EX2.mxp5.local (172.16.2.52) X-Ovh-Tracer-GUID: 7a3cc0ac-f7f4-4b34-9fd4-34de6f301b77 X-Ovh-Tracer-Id: 1671398413440147354 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeiledgleelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgtghisehtkeertdertddtnecuhfhrohhmpeeuvghnjhgrmhhinhcutffquefkpfcuoeguvghvsegsvghnjhgrrhhosghinhdrfhhrqeenucggtffrrghtthgvrhhnpedtheetffeikedvjeegudelheelkeehheekgffgheehtdevjeffjedvgedtvefhjeenucfkphepuddvjedrtddrtddruddpfeejrdehledrudegvddruddtkedpledvrdduiedurdduvdeirdegnecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeouggvvhessggvnhhjrghrohgsihhnrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohephidrkhgrrhgrugiisehgmhgrihhlrdgtohhmpdhlihhnuhigqdhtrhgrtggvqdguvghvvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehvdelpdhmohguvgepshhmthhpohhuth |
Series |
Fix kernelshark issues introduced by the migration to Qt6
|
expand
|
diff --git a/src/KsUtils.cpp b/src/KsUtils.cpp index fc1fc52..83f8f2e 100644 --- a/src/KsUtils.cpp +++ b/src/KsUtils.cpp @@ -530,7 +530,7 @@ QVector<int> parseIdList(QString v_str) QStringList list = v_str.split(",", KS_SPLIT_SkipEmptyParts); QVector<int> v; - for (auto item: list) { + for (const auto &item: list) { int i = item.indexOf('-'); if (i > 0) { /* This item is an interval. */
Signed-off-by: Benjamin ROBIN <dev@benjarobin.fr> --- src/KsUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)