diff options
author | van Hauser <vh@thc.org> | 2021-01-08 15:43:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 15:43:13 +0100 |
commit | 20a47cb23e9c6406b4a6c0c94783667a8b06316a (patch) | |
tree | 1aeeb9555be23bb55b888e134e5ca50929387236 /custom_mutators/libfuzzer/FuzzerRandom.h | |
parent | 7b8c8cf12fde0feab25a1d794e010a5778cf9be8 (diff) | |
parent | 813627cbd32be9466e0b5ad3a83ce8209dcfeb51 (diff) | |
download | afl++-20a47cb23e9c6406b4a6c0c94783667a8b06316a.tar.gz |
Merge pull request #679 from AFLplusplus/dev
Dev
Diffstat (limited to 'custom_mutators/libfuzzer/FuzzerRandom.h')
-rw-r--r-- | custom_mutators/libfuzzer/FuzzerRandom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_mutators/libfuzzer/FuzzerRandom.h b/custom_mutators/libfuzzer/FuzzerRandom.h index 659283ee..7b1e1b1d 100644 --- a/custom_mutators/libfuzzer/FuzzerRandom.h +++ b/custom_mutators/libfuzzer/FuzzerRandom.h @@ -16,7 +16,7 @@ namespace fuzzer { class Random : public std::minstd_rand { public: - Random(unsigned int seed) : std::minstd_rand(seed) {} + explicit Random(unsigned int seed) : std::minstd_rand(seed) {} result_type operator()() { return this->std::minstd_rand::operator()(); } size_t Rand() { return this->operator()(); } size_t RandBool() { return Rand() % 2; } |