diff options
Diffstat (limited to 'src/hash_collision_bench.cc')
-rw-r--r-- | src/hash_collision_bench.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hash_collision_bench.cc b/src/hash_collision_bench.cc index ff947dc..52ff56d 100644 --- a/src/hash_collision_bench.cc +++ b/src/hash_collision_bench.cc @@ -15,11 +15,12 @@ #include "build_log.h" #include <algorithm> -using namespace std; #include <stdlib.h> #include <time.h> +using namespace std; + int random(int low, int high) { return int(low + (rand() / double(RAND_MAX)) * (high - low) + 0.5); } |