diff options
| author | Tyge Løvset <[email protected]> | 2020-03-24 23:43:18 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-24 23:43:18 +0100 |
| commit | f9e3a4a2db7dde3f4763b168f176c7edf05dfa92 (patch) | |
| tree | 5f7d9c40407ae032dceeb924a875ce89ebad9d44 /benchmark.cpp | |
| parent | 3f9b21a755c79673c4f31befcd7eca33daf308c1 (diff) | |
| download | STC-modified-f9e3a4a2db7dde3f4763b168f176c7edf05dfa92.tar.gz STC-modified-f9e3a4a2db7dde3f4763b168f176c7edf05dfa92.zip | |
Add files via upload
Diffstat (limited to 'benchmark.cpp')
| -rw-r--r-- | benchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark.cpp b/benchmark.cpp index 3e9c8896..28969791 100644 --- a/benchmark.cpp +++ b/benchmark.cpp @@ -22,7 +22,7 @@ const double maxLoadFactor = 0.77; #define CMAP_DEL(tag, key) cmap_##tag##_erase(&map, key)
#define CMAP_FIND(tag, key) (cmap_##tag##_get(map, key) != NULL)
#define CMAP_SIZE(tag) cmap_size(map)
-#define CMAP_BUCKETS(tag) cmap_buckets(map)
+#define CMAP_BUCKETS(tag) cmap_bucketCount(map)
#define CMAP_CLEAR(tag) cmap_##tag##_destroy(&map)
#define UMAP_SETUP(tag, Key, Value) std::unordered_map<Key, Value> map; map.max_load_factor(maxLoadFactor)
|
