diff options
| author | Tyge Løvset <[email protected]> | 2020-12-17 08:02:44 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-12-17 08:02:44 +0100 |
| commit | fe8693e2719939547757039524f641783b05b00b (patch) | |
| tree | 5fab57ededbcf89180dee007801368b369ea1ee4 /examples/benchmark.cpp | |
| parent | c432774d0d08aa1b379fd513e68e46483c477208 (diff) | |
| download | STC-modified-fe8693e2719939547757039524f641783b05b00b.tar.gz STC-modified-fe8693e2719939547757039524f641783b05b00b.zip | |
Forgot benchmark.cpp
Diffstat (limited to 'examples/benchmark.cpp')
| -rw-r--r-- | examples/benchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/benchmark.cpp b/examples/benchmark.cpp index e919bc3f..4806bc13 100644 --- a/examples/benchmark.cpp +++ b/examples/benchmark.cpp @@ -40,7 +40,7 @@ crand_t rng; #define CMAP_ERASE(X, key) cmap_##X##_erase(&map, key)
#define CMAP_FIND(X, key) (cmap_##X##_find(map, key) != NULL)
#define CMAP_FOR(X, i) c_foreach (i, cmap_##X, map)
-#define CMAP_ITEM(X, i) i.val->second
+#define CMAP_ITEM(X, i) i.ref->second
#define CMAP_SIZE(X) cmap_size(map)
#define CMAP_BUCKETS(X) cmap_##X##_bucket_count(map)
#define CMAP_CLEAR(X) cmap_##X##_clear(&map)
|
