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/FuzzerDictionary.h | |
parent | 33a7d6f1688856c050b0ac71ac1df4018e4d531c (diff) | |
download | afl++-5cdbfeef4a84b9dc2e5f8e88ee018c6c6e72fa44.tar.gz |
Revert "code cleanups (from cppcheck)"
This reverts commit 33a7d6f1688856c050b0ac71ac1df4018e4d531c.
Diffstat (limited to 'custom_mutators/libfuzzer/FuzzerDictionary.h')
-rw-r--r-- | custom_mutators/libfuzzer/FuzzerDictionary.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom_mutators/libfuzzer/FuzzerDictionary.h b/custom_mutators/libfuzzer/FuzzerDictionary.h index ddd2d2f1..301c5d9a 100644 --- a/custom_mutators/libfuzzer/FuzzerDictionary.h +++ b/custom_mutators/libfuzzer/FuzzerDictionary.h @@ -49,7 +49,7 @@ typedef FixedWord<64> Word; class DictionaryEntry { public: DictionaryEntry() {} - explicit DictionaryEntry(Word W) : W(W) {} + DictionaryEntry(Word W) : W(W) {} DictionaryEntry(Word W, size_t PositionHint) : W(W), PositionHint(PositionHint) {} const Word &GetW() const { return W; } @@ -92,7 +92,7 @@ class Dictionary { assert(Idx < Size); return DE[Idx]; } - void push_back(const DictionaryEntry &DE) { + void push_back(DictionaryEntry DE) { if (Size < kMaxDictSize) this->DE[Size++] = DE; } |