diff options
author | hexcoder- <heiko@hexco.de> | 2021-01-04 15:17:39 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-01-04 15:17:39 +0100 |
commit | 5cdbfeef4a84b9dc2e5f8e88ee018c6c6e72fa44 (patch) | |
tree | a31794b40b9b0400aaa15c994f5f77f86fe7123f /custom_mutators/libfuzzer/FuzzerRandom.h | |
parent | 33a7d6f1688856c050b0ac71ac1df4018e4d531c (diff) | |
download | afl++-5cdbfeef4a84b9dc2e5f8e88ee018c6c6e72fa44.tar.gz |
Revert "code cleanups (from cppcheck)"
This reverts commit 33a7d6f1688856c050b0ac71ac1df4018e4d531c.
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 7b1e1b1d..659283ee 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: - explicit Random(unsigned int seed) : std::minstd_rand(seed) {} + 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; } |