diff options
author | Kostya Serebryany <kcc@google.com> | 2018-07-03 21:22:44 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2018-07-03 21:22:44 +0000 |
commit | 9aa2b629129147049ad614648ce7a2f7030e44a2 (patch) | |
tree | 45bb829d965d4e37204e0ed6124e3afb104b08f6 /lib | |
parent | d6bbae10f0314a43a6782fbebc5bb9d35ffc486b (diff) |
[libFuzzer] remove stale code, as suggested in https://reviews.llvm.org/D48800
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuzzer/FuzzerDictionary.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/fuzzer/FuzzerDictionary.h b/lib/fuzzer/FuzzerDictionary.h index 088bf800e..0077e2a99 100644 --- a/lib/fuzzer/FuzzerDictionary.h +++ b/lib/fuzzer/FuzzerDictionary.h @@ -37,13 +37,6 @@ public: return Size == w.Size && 0 == memcmp(Data, w.Data, Size); } - bool operator<(const FixedWord<kMaxSize> &w) const { - ScopedDoingMyOwnMemOrStr scoped_doing_my_own_mem_os_str; - if (Size != w.Size) - return Size < w.Size; - return memcmp(Data, w.Data, Size) < 0; - } - static size_t GetMaxSize() { return kMaxSize; } const uint8_t *data() const { return Data; } uint8_t size() const { return Size; } |