diff --git a/tests/random_string.cpp b/tests/random_string.cpp index 20329ea..88d74bf 100644 --- a/tests/random_string.cpp +++ b/tests/random_string.cpp @@ -54,6 +54,7 @@ float cygwin_strtof_l(char const *start, char **end) { class RandomEngine { public: RandomEngine() = delete; + RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed) {} uint64_t next() { diff --git a/tests/short_random_string.cpp b/tests/short_random_string.cpp index a271dbb..2da56a2 100644 --- a/tests/short_random_string.cpp +++ b/tests/short_random_string.cpp @@ -54,6 +54,7 @@ float cygwin_strtof_l(char const *start, char **end) { class RandomEngine { public: RandomEngine() = delete; + RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed) {} uint64_t next() {