diff options
author | hexcoder- <heiko@hexco.de> | 2021-01-04 15:32:22 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-01-04 15:32:22 +0100 |
commit | b7af98e94561ebe44ea37304a357b00499d1104d (patch) | |
tree | 6ba2356e8e6879ae4c528e9a4f775132868a00fc /custom_mutators/libfuzzer/FuzzerRandom.h | |
parent | 5cdbfeef4a84b9dc2e5f8e88ee018c6c6e72fa44 (diff) | |
download | afl++-b7af98e94561ebe44ea37304a357b00499d1104d.tar.gz |
code cleanups (from cppcheck mostly)
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; } |