From a4e2ee22fd57665d2388d5debc17db896a4a389f Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Thu, 3 Sep 2020 12:59:41 +0200 Subject: Changed constant _init to _ini to avoid conflict with _init() method. Reverted name cprique back to cpqueue. --- examples/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/benchmark.c') diff --git a/examples/benchmark.c b/examples/benchmark.c index d4e1e82c..1c94397d 100644 --- a/examples/benchmark.c +++ b/examples/benchmark.c @@ -34,7 +34,7 @@ crand_rng64_t rng; #define RAND(N) (crand_i64(&rng) & ((1 << N) - 1)) -#define CMAP_SETUP(tt, Key, Value) cmap_##tt map = cmap_init \ +#define CMAP_SETUP(tt, Key, Value) cmap_##tt map = cmap_ini \ ; cmap_##tt##_set_load_factors(&map, max_load_factor, 0.0) #define CMAP_PUT(tt, key, val) cmap_##tt##_put(&map, key, val)->value #define CMAP_INSERT(tt, key, val) cmap_##tt##_insert(&map, key, val) -- cgit v1.2.3