From e3eee3b2b9c80fb989503f51a1072df2949deb68 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sat, 4 Feb 2017 23:08:39 +0200 Subject: [PATCH] Utils: Eradicate Q_FOREACH in algorithm.h Change-Id: I16cbe1896091e6677341dd954f58f69db1d61530 Reviewed-by: hjk Reviewed-by: Eike Ziller --- src/libs/utils/algorithm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/algorithm.h b/src/libs/utils/algorithm.h index faa72a5ac02..7a1f487789d 100644 --- a/src/libs/utils/algorithm.h +++ b/src/libs/utils/algorithm.h @@ -349,7 +349,7 @@ std::tuple partition(const C &container, F predicate) C miss; auto hitIns = inserter(hit); auto missIns = inserter(miss); - foreach (auto i, container) { + for (auto i : container) { if (predicate(i)) hitIns = i; else