diff options
| author | Tyge Løvset <[email protected]> | 2020-09-03 12:59:41 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-03 12:59:41 +0200 |
| commit | a4e2ee22fd57665d2388d5debc17db896a4a389f (patch) | |
| tree | 6a3a88772cd9d3b604f9def4c0579ed941983f61 /examples/benchmark.c | |
| parent | aaa3d7f6a107a668b1f24d8ed061fe74237d9883 (diff) | |
| download | STC-modified-a4e2ee22fd57665d2388d5debc17db896a4a389f.tar.gz STC-modified-a4e2ee22fd57665d2388d5debc17db896a4a389f.zip | |
Changed constant <container>_init to <container>_ini to avoid conflict with <container>_init() method.
Reverted name cprique back to cpqueue.
Diffstat (limited to 'examples/benchmark.c')
| -rw-r--r-- | examples/benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)
|
