summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/shootout1_cmap.cpp
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-10-05 09:00:28 +0200
committerTyge Løvset <[email protected]>2021-10-05 09:05:25 +0200
commitbf00ed0e7023cf49cf004dd4b4b39af2b824681e (patch)
treeadadcc1ac34fd5b614e566028d37d29db8fb7f80 /benchmarks/shootout1_cmap.cpp
parent88c67afa63e46551c67f573e0557323518c42f81 (diff)
downloadSTC-modified-bf00ed0e7023cf49cf004dd4b4b39af2b824681e.tar.gz
STC-modified-bf00ed0e7023cf49cf004dd4b4b39af2b824681e.zip
Changed recommended order of defining template parameters.
Diffstat (limited to 'benchmarks/shootout1_cmap.cpp')
-rw-r--r--benchmarks/shootout1_cmap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/shootout1_cmap.cpp b/benchmarks/shootout1_cmap.cpp
index 2cdb919f..fab25096 100644
--- a/benchmarks/shootout1_cmap.cpp
+++ b/benchmarks/shootout1_cmap.cpp
@@ -35,16 +35,16 @@ DEFMAP(map_i, <int, int>);
DEFMAP(map_x, <uint64_t, uint64_t>);
DEFMAP(map_s, <std::string, std::string>);
-#define i_tag i
#define i_key int
#define i_val int
#define i_hash c_default_hash32
+#define i_tag i
#include <stc/cmap.h>
-#define i_tag x
#define i_key size_t
#define i_val size_t
#define i_hash c_default_hash64
+#define i_tag x
#include <stc/cmap.h>
#define i_key_str