From bc3f6613ba44adcecacbdd106c840e8b6c054e22 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sun, 31 Jul 2022 13:03:32 +0200 Subject: VERSION 3.9: API change in c_forrange() with >= 3 args. csview updates. --- 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 ca28082b..9e2f8d18 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 (i, int, M) { + c_forrange (int, i, M) { cpque_f_pop(&pq); } start = clock(); - c_forrange (i, int, M, N) + c_forrange (int, i, M, N) cpque_f_pop(&pq); printf("\npopped PQ: %f secs\n", (clock() - start) / (float) CLOCKS_PER_SEC); } -- cgit v1.2.3