From 8da81e7a625f06ec667793ff624c6876d03abbde Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sun, 19 Sep 2021 13:49:41 +0200 Subject: Fixed errors caused by gcc -std=c99 -pedantic. --- benchmarks/shootout2_cmap.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'benchmarks/shootout2_cmap.cpp') 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 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 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 map #define RMAP_PUT(X, key, val) UMAP_PUT(X, key, val) #define RMAP_EMPLACE(X, key, val) UMAP_EMPLACE(X, key, val) -- cgit v1.2.3