From 2c83996f1ad7ac7176833d1ecb76f59120bf52cd Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 23 Sep 2022 13:17:22 +0200 Subject: Reverted c_forrange() macro with 3 or more args: swapped 1st and 2nd arg again. --- benchmarks/plotbench/cpque_benchmark.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benchmarks/plotbench/cpque_benchmark.cpp') diff --git a/benchmarks/plotbench/cpque_benchmark.cpp b/benchmarks/plotbench/cpque_benchmark.cpp index 9e2f8d18..ca28082b 100644 --- a/benchmarks/plotbench/cpque_benchmark.cpp +++ b/benchmarks/plotbench/cpque_benchmark.cpp @@ -50,12 +50,12 @@ void stc_test() printf("Built priority queue: %f secs\n", (clock() - start) / (float) CLOCKS_PER_SEC); printf("%g ", *cpque_f_top(&pq)); - c_forrange (int, i, M) { + c_forrange (i, int, M) { cpque_f_pop(&pq); } start = clock(); - c_forrange (int, i, M, N) + c_forrange (i, int, M, N) cpque_f_pop(&pq); printf("\npopped PQ: %f secs\n", (clock() - start) / (float) CLOCKS_PER_SEC); } -- cgit v1.2.3