summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/shootout2_cmap.cpp
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-09-19 13:49:41 +0200
committerTyge Løvset <[email protected]>2021-09-19 13:49:41 +0200
commit8da81e7a625f06ec667793ff624c6876d03abbde (patch)
treef1c09759a45b42fdff374b9bde009a9356dffe29 /benchmarks/shootout2_cmap.cpp
parent58b2831a7287cb00d14a221a9d0263fb0c427675 (diff)
downloadSTC-modified-8da81e7a625f06ec667793ff624c6876d03abbde.tar.gz
STC-modified-8da81e7a625f06ec667793ff624c6876d03abbde.zip
Fixed errors caused by gcc -std=c99 -pedantic.
Diffstat (limited to 'benchmarks/shootout2_cmap.cpp')
-rw-r--r--benchmarks/shootout2_cmap.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/benchmarks/shootout2_cmap.cpp b/benchmarks/shootout2_cmap.cpp
index 669c336c..6224c1f3 100644
--- a/benchmarks/shootout2_cmap.cpp
+++ b/benchmarks/shootout2_cmap.cpp
@@ -9,7 +9,6 @@
#include "others/robin_hood.hpp"
#include "others/skarupke/bytell_hash_map.hpp"
#include "others/tsl/hopscotch_map.h"
-#include "others/tsl/robin_map.h"
#include "others/sparsepp/spp.h"
template<typename C> inline void destroy_me(C& c) { C().swap(c); }
#endif
@@ -105,18 +104,6 @@ stc64_t rng;
#define HMAP_CLEAR(X) UMAP_CLEAR(X)
#define HMAP_DTOR(X) UMAP_DTOR(X)
-#define OMAP_SETUP(X, Key, Value) tsl::robin_map<Key, Value> map; map.max_load_factor(max_load_factor)
-#define OMAP_PUT(X, key, val) UMAP_PUT(X, key, val)
-#define OMAP_EMPLACE(X, key, val) UMAP_EMPLACE(X, key, val)
-#define OMAP_FIND(X, key) UMAP_FIND(X, key)
-#define OMAP_ERASE(X, key) UMAP_ERASE(X, key)
-#define OMAP_FOR(X, i) UMAP_FOR(X, i)
-#define OMAP_ITEM(X, i) UMAP_ITEM(X, i)
-#define OMAP_SIZE(X) UMAP_SIZE(X)
-#define OMAP_BUCKETS(X) UMAP_BUCKETS(X)
-#define OMAP_CLEAR(X) UMAP_CLEAR(X)
-#define OMAP_DTOR(X) UMAP_DTOR(X)
-
#define RMAP_SETUP(X, Key, Value) robin_hood::unordered_map<Key, Value> map
#define RMAP_PUT(X, key, val) UMAP_PUT(X, key, val)
#define RMAP_EMPLACE(X, key, val) UMAP_EMPLACE(X, key, val)