summaryrefslogtreecommitdiffhomepage
path: root/examples/benchmark.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-11-03 08:38:26 +0100
committerTyge Løvset <[email protected]>2020-11-03 08:38:26 +0100
commitcc8fd2c9d8b5b8170a02ec33168d60bb92cd781d (patch)
treecf7a840ddb4b3a557302eb114831a38025ef44cb /examples/benchmark.c
parent7171182ce7e0106f8f0fc47ed8f1fe1f58b2ea5d (diff)
downloadSTC-modified-cc8fd2c9d8b5b8170a02ec33168d60bb92cd781d.tar.gz
STC-modified-cc8fd2c9d8b5b8170a02ec33168d60bb92cd781d.zip
renamed __init to _inits
Diffstat (limited to 'examples/benchmark.c')
-rw-r--r--examples/benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/benchmark.c b/examples/benchmark.c
index 419e7a8f..ab500429 100644
--- a/examples/benchmark.c
+++ b/examples/benchmark.c
@@ -33,7 +33,7 @@ crand_rng64_t rng;
#define RAND(N) (crand_i64(&rng) & ((1 << N) - 1))
-#define CMAP_SETUP(X, Key, Value) cmap_##X map = cmap__init \
+#define CMAP_SETUP(X, Key, Value) cmap_##X map = cmap_inits \
; cmap_##X##_set_load_factors(&map, max_load_factor, 0.0)
#define CMAP_PUT(X, key, val) cmap_##X##_put(&map, key, val).first->second
#define CMAP_EMPLACE(X, key, val) cmap_##X##_emplace(&map, key, val)