diff --git a/flat_hash_map.hpp b/flat_hash_map.hpp index b6f991c..2b3a384 100644 --- a/flat_hash_map.hpp +++ b/flat_hash_map.hpp @@ -521,6 +521,7 @@ class sherwood_v3_table : private EntryAlloc, private Hasher, private Equal if (it->has_value()) return { it }; } + return end(); } const_iterator begin() const { @@ -529,6 +530,7 @@ class sherwood_v3_table : private EntryAlloc, private Hasher, private Equal if (it->has_value()) return { it }; } + return cend(); } const_iterator cbegin() const {