diff --git a/c10/util/flat_hash_map.h b/c10/util/flat_hash_map.h index 2e46452af3eb7..96da0701e2d5a 100644 --- a/c10/util/flat_hash_map.h +++ b/c10/util/flat_hash_map.h @@ -1,6 +1,5 @@ // Taken from https://github.com/skarupke/flat_hash_map/blob/2c4687431f978f02a3780e24b8b701d22aa32d9c/flat_hash_map.hpp // with fixes applied: -// - https://github.com/skarupke/flat_hash_map/pull/8 // - https://github.com/skarupke/flat_hash_map/pull/25 // - https://github.com/skarupke/flat_hash_map/pull/26 // - replace size_t with uint64_t to fix it for 32bit @@ -522,7 +521,6 @@ class sherwood_v3_table : private EntryAlloc, private Hasher, private Equal if (it->has_value()) return { it }; } - return end(); } const_iterator begin() const { @@ -531,7 +529,6 @@ class sherwood_v3_table : private EntryAlloc, private Hasher, private Equal if (it->has_value()) return { it }; } - return end(); } const_iterator cbegin() const {